Maybe a settings object to customize the url that opens in the browser.
I imagine something like:
{
"gitlens.remotes": [
{
"name": "origin",
"repoUrl": "https://git.mydomain.com/repos/MyProject",
"fileUrl": "https://git.mydomain.com/repos/MyProject/browse/%s",
"branchUrl": "https://git.mydomain.com/repos/MyProject/branch/%s",
"commitUrl": "https://git.mydomain.com/repos/MyProject/commits/%s"
}
]
}
And then it just fills in the %s with the branch, commit, or file path.
This would be really nice for Stash (Bitbucket Server) repositories.