How To Change Git Remote Origin – devconnected Change Git Remote URL In order to change the URL of a Git remote, you have to use the “git remote set-url” command and specify the name of the remote as well as the new remote URL to be changed. $ git remote set-url For example, let’s say that you want to change the URL of your Git origin remote. In order to achieve that, you would use the “set-url”..