delete a brach i github code example
Example: github delete branch
// delete branch locally
git branch -D localBranchName
// delete branch remotely
git push origin --delete remoteBranchName
// delete branch locally
git branch -D localBranchName
// delete branch remotely
git push origin --delete remoteBranchName