Propagate error codes from the git executable.