finds the git path to run the git comand