RepoURL returns the HTTPS repository URL inferred from the go.mod module
path found in modDir (use "." for the current directory). Returns "" when
the module path does not begin with a known hosting domain (github.com,
gitlab.com, codeberg.org) or when go.mod cannot be read.