check to see if git is working