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