how to remove a remote in git \ 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