git remove remote upstream branch code example
Example 1: delete remote git branch
git push --delete remoteName branchName
Example 2: git remove upstream branch
$ git branch --unset-upstream
git push --delete remoteName branchName
$ git branch --unset-upstream