how to delte a local branch in terminal code example Example: how to delete branch locally $ git branch -d <local-branch>