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