exit if git is not present