I wonder if perhaps we don't need this particular branch in the validation?

Seems like `case strings.HasSuffix(r.Path, ".git")` should be enough while `https://github.com/` might be a bit superfluous since I don't believe there is any restriction on hosted github's hostname having to be prefixed with `https://github` (though it is a nice convention). I believe it is optional to use `https` (though it is recommended AFAIK).