remove upstream branch git code example
Example 1: git delete branch upstream
git push -d <remote_name> <branch_name>
Example 2: git remove upstream branch
$ git branch --unset-upstream
git push -d <remote_name> <branch_name>
$ git branch --unset-upstream