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