I am always looking for how to do this as I don’t do it frequently enough to remember.
Deleting a local branch:
git branch -d local_branch
If you are wanting to delete a remote branch use:
git push origin :remote_branch
To avoid issues with deleted branches you should pull with prune:
git fetch -p
Now I have this somewhere I can remember.