git config --add remote.origin.url code example
Example: git config remote.origin.url
# change remote url
git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
# change remote url
git remote set-url origin https://github.com/USERNAME/REPOSITORY.git