Check system for git prior to shell.exec