github pushing to wrong repository code example Example: pushed into the wrong repo git remote set-url origin https://github.com/USERNAME/REPOSITORY.git