Tassilo Horn writes: >>> + (let* ((backend (vc-responsible-backend (buffer-file-name) t)) >>> + (url (pcase backend >>> + ('Git (string-trim >>> + (shell-command-to-string >>> + "git ls-remote --get-url")))))) >> >> This should be moved to a new VC function. Ok, I have implemented a new repository-url VC command for all VC systems I have installed and were able to test: Git, Hg, Bzr, and SVN. Looks right?