# Delete local branch
git branch -d branch-to-delete
# Delete local branch forcefully
git branch -D branch-to-delete
Deletes the local branch called "my-branch-to-delete". Note that if the branch is not merged upstream, you need to force the deletion using the "-D" option instead of "-d".