Testing the gitPath method