how to delete a branch git local code example
Example 1: delete branch git
// delete branch locally
git branch -D localBranchName
// delete branch remotely
git push
Example 2: delete local and remote branch github
git branch -d branch_namegit branch -D branch_name