git remote set-url origin github code example
Example 1: git update remote origin
git remote set-url origin new.git.url/here
Example 2: set remote git
git remote add => ADDS a new remote.
git remote set-url => UPDATES existing remote.
git remote set-url origin new.git.url/here
git remote add => ADDS a new remote.
git remote set-url => UPDATES existing remote.