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