how to remove origin from git code example
Example 1: how to remove remote origin from git repo
git remote remove origin
Example 2: how to remove a git remote origin
git remote remove origin
Example 3: git remove origin
git remote set-url origin new.git.url/here
or
git remote rm origin
Example 4: how to remove remote origin from git repo
git remote set-url origin git://new.url.here
Example 5: how to remove remote origin from git repo
git push -u origin master