$ git remote set-url <remote-name> <new-url>
$ git remote set-url origin https://github.com/user/repo.git

Leave a Reply