git change existing remote origin on local code example Example: git change remote origin git remote set-url origin new.git.url/here