setting git remote repository code example
Example 1: git set remote
git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
Example 2: get git remote url
git config --get remote.origin.url
git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
git config --get remote.origin.url