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