code: func isGitTransport(str string) bool {
  	return strings.HasPrefix(str, "http://") || strings.HasPrefix(str, "https://") || strings.HasPrefix(str, "git://") || strings.HasPrefix(str, "git@")
  }
docs: // isGitTransport returns true if the provided str is a git transport by inspecting
  // the prefix of the string for known protocols used in git.