github change origin of git remote repo code example Example: git update remote origin git remote set-url origin new.git.url/here