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