Review r3: GIT_REDIRECT_STDIN/STDOUT/STDERR survived sanitization. On Git
for Windows, GIT_REDIRECT_STDOUT sends output past the capture pipe, so a
dirty tree would read as clean and HEAD could fall back to "local".
Drop them, and GIT_CONFIG_NOSYSTEM, which the documented list already
claimed. Set GIT_TERMINAL_PROMPT=0 and GIT_NO_LAZY_FETCH=1 and run git
with stdin closed. The sanitizer test asserts all of these.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>