delete an origin remote git code example
Example 1: how to remove remote origin from git repo
git remote remove origin
Example 2: how to deltyer remote origin
git remote rm origin
git remote remove origin
git remote rm origin