git remove origin and add new code example
Example 1: remove git remote
git remote remove origin
Example 2: git remove remote
git remote remove origin
Example 3: how to remove remote origin from git repo
git push -u origin master
git remote remove origin
git remote remove origin
git push -u origin master