git push origin --delete a code example
Example 1: git remove origin
git remote set-url origin new.git.url/here
or
git remote rm origin
Example 2: delete git origin
git remote rm destination
git remote set-url origin new.git.url/here
or
git remote rm origin
git remote rm destination