git set default remote code example
Example 1: git view remote url
git remote show origin
Example 2: git set remote
git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
Example 3: git show origin
git config --get remote.origin.url
Example 4: set remote git
git remote add => ADDS a new remote.
git remote set-url => UPDATES existing remote.