GIT_RESULT should be set to `git`'s exit status.