pub fn insteadof_pair(alias: &str, hostname: &str, ns: &str) -> (String, String)Expand description
The git-config (key, value) for the namespace-scoped insteadOf rewrite that
lets a canonical submodule URL route through the alias’s key:
key = url.<alias>:<ns>/.insteadOf value = git@<hostname>:<ns>/
so git rewrites git@<hostname>:<ns>/repo.git → <alias>:<ns>/repo.git → id_<alias>.
The trailing / on both sides scopes the rule to the namespace (so multiple aliases
on the same host — different clients — each keep their own key).