git remove remotes/origin code example
Example 1: how to remove remote origin from git repo
git remote remove origin
Example 2: remove remote origin git
git remote add origin yourRemoteUrl
git remote remove origin
git remote add origin yourRemoteUrl