git delete remote re code example
Example 1: git delete remote name
git remote rm remote_name
Example 2: how to remove remote origin from git repo
git remote set-url origin git://new.url.here
git remote rm remote_name
git remote set-url origin git://new.url.here