git remote set-url origin https://git-repo/new-repository.git Refs https://devconnected.com/how-to-change-git-remote-origin/