Как отменить удаленное происхождение
git remote remove origin
# If however, you wish to change to a new URL
# you can use the following command instead of
# removing and then adding again
git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
# OR for SSH
git remote set-url origin git@github.com:USERNAME/REPOSITORY.git
Code Rabbi