Simplified logic for detecting the availability of GIT command line tool
and GIT repository.