how to delete a origin push remote git code example
Example 1: how to remove remote origin from git repo
git remote set-url origin git://new.url.here
Example 2: remove remote origin git
git remote add origin yourRemoteUrl
git remote set-url origin git://new.url.here
git remote add origin yourRemoteUrl