git remove remote repository from local code example
Example 1: how to remove remote origin from git repo
git remote remove origin
Example 2: how to remove remote origin from git repo
git remote set-url origin git://new.url.here
git remote remove origin
git remote set-url origin git://new.url.here