github clear git branches 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