Check for existence of git