pub fn normalize_git_url(url: &str) -> StringExpand description
Normalize a git remote URL to a canonical short form.
Converts common hosting URLs to compact identifiers:
git@github.com:org/repo.git->github:org/repohttps://github.com/org/repo.git->github:org/repogit@gitlab.com:org/repo.git->gitlab:org/repohttps://gitlab.com/org/repo.git->gitlab:org/repo