git remote set urlk code example Example: set remote url git $ git remote set-url origin https://github.com/USERNAME/REPOSITORY.git