git reset url repo remote code example Example: how to reset and change remote url in git $ git remote set-url <remote_name> <remote_url>