/proc/self/root/proc/1/task/1/root/node24/lib/node_modules/npm/node_modules/@npmcli/git/lib
This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.
const which = require('which') let gitPathtry { gitPath = which.sync('git')} catch { // ignore errors} module.exports = (opts = {}) => { if (opts.git) { return opts.git } if (!gitPath || opts.git === false) { return Object.assign(new Error('No git binary found in $PATH'), { code: 'ENOGIT' }) } return gitPath}