Git Update Remote Origin
git remote set-url origin new.git.url/here
Kasmin Nicko
git remote set-url origin new.git.url/here
# change remote url
git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
git remote set-url origin [email protected]:/your-repository.git
git remote set-url upstream https://hostname/USERNAME/REPOSITORY.git
git remote set-url upstream <your-repo-url>