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