Starts git through execFile with exactly the invocation's
environment, reading stdout and stderr as raw bytes and decoding each as
strict UTF-8, a leading byte order mark kept. Bytes that are not UTF-8
in either stream fail the run with GitCommandFailed, git's exit
code and undecodableOutput, before any caller sees a path or
content (review finding B17). Bun 1.3.6 resolves git on the given
environment's PATH, not the parent's (checked by
test/runtime/git.test.ts).
Starts
gitthroughexecFilewith exactly the invocation's environment, reading stdout and stderr as raw bytes and decoding each as strict UTF-8, a leading byte order mark kept. Bytes that are not UTF-8 in either stream fail the run with GitCommandFailed, git's exit code and undecodableOutput, before any caller sees a path or content (review finding B17). Bun 1.3.6 resolvesgiton the given environment's PATH, not the parent's (checked bytest/runtime/git.test.ts).