git change remote name code example
Example 1: git set remote
git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
Example 2: git rename remote
git remote rename old-remote-name new-remote-name
git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
git remote rename old-remote-name new-remote-name