Test if git is already installed