how to switch your git local repo to your remote changes code example Example: how to change git remote origin git remote set-url origin new.git.url/here