change name of remote repo code example Example: git rename remote git remote rename old-remote-name new-remote-name