pub fn repository_url(repo: &str) -> StringExpand description
Normalizes “github.com/o/r”, “git@github.com:o/r.git”, “ssh://git@github.com:22/o/r” and
similar to https://github.com/o/r. Other URLs keep their scheme (credentials stripped);
scp-style remotes on other hosts are returned unchanged; a bare “host/path” gets https://.