change existing git url code example
Example 1: git remote url change
$ git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
Example 2: git push url change
git remote set-url origin /original/repo
git remote set-url --push origin /your/fork