Tests: Find GIT_EXECUTABLE early enough to use in all tests Some tests work only if a `git` executable is available.