pub fn normalize_remote(url: &str) -> StringExpand description
A git remote URL as one stable repository name: no scheme, credentials,
port, or trailing .git, and a lowercase host. git@github.com:acme/x.git
and https://token@github.com/acme/x both become github.com/acme/x.
A local path is kept, without a trailing .git.