Fix check git version.

Checking is "yes" only if git version equals "1.7.10" exactly.
Merge pull request #3868 from hiroponz/fix_check_git_version

Fix check git version.