git change repository to a new git code example Example: git update remote origin git remote set-url origin new.git.url/here