This error message code is duplicated — can you factor it into a `check_git_version' method?