Runs git with args in directory cwd. Succeeds with any exit code;
fails with GitCommandFailed only when git could not start, a
signal ended it, or it printed bytes that are not UTF-8. Production builds it with cleanGit; a test
injects one to see or alter the commands.
Runs git with
argsin directorycwd. Succeeds with any exit code; fails with GitCommandFailed only when git could not start, a signal ended it, or it printed bytes that are not UTF-8. Production builds it with cleanGit; a test injects one to see or alter the commands.