git how to change repository code example Example: how to change remote origin guit $ git remote set-url origin [email protected]:USERNAME/REPOSITORY.git