check that git is installed