avoid spamming stdout and stderr when checking for git presence.

This was spamming the terminal with git status every test run. We just care about the status code, so we can toss the output.