git comman dremove branch remote code example
Example 1: remove branch not published yet
First checkout another branch
git checkout <other branch>
Now delete branch
git branch -D <deleting brach>
Example 2: delete local and remote branch github
git branch -d branch_namegit branch -D branch_name