remove upstream git code example
Example 1: how to remove a git remote origin
git remote remove origin
Example 2: git remove upstream branch
$ git branch --unset-upstream
git remote remove origin
$ git branch --unset-upstream