Detect the git command in configure-time