Corrected test for git