delete a git origin code example
Example 1: remove origin git
git remote rm origin
Example 2: git delete origin branch
$ git push -d <remote_name> <branch_name>
$ git branch -d <branch_name>
git remote rm origin
$ git push -d <remote_name> <branch_name>
$ git branch -d <branch_name>