mw-to-git: use git-credential's URL parser