git: set new origin by Lorenz Bausch Posted on October 1, 2014 In case the URL of your remote git repository has changed, update your local repository as follows: git remote set-url origin git@server:path/to/repository.git 1 git remote set-url origin git@server:path/to/repository.git This entry was posted in git. Bookmark the permalink.