delete branch gith\ code example
Example 1: git delete local branch
git branch -d test
Example 2: github delete branch remote
$ git push -d <remote_name> <branch_name>
$ git branch -d <branch_name>
git branch -d test
$ git push -d <remote_name> <branch_name>
$ git branch -d <branch_name>