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