Only check if there is a git repo - speed up