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