code: func IsGitURL(str string) bool {
  	if IsURL(str) && urlPathWithFragmentSuffix.MatchString(str) {
  		return true
  	}
  	return checkURL(str, "git")
  }
docs: // IsGitURL returns true if the provided str is a git repository URL.