git config remote.origin.url
# change remote url
git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
Salo Hopeless
# change remote url
git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
git remote set-url upstream https://hostname/USERNAME/REPOSITORY.git