ENH: Check if git is configured