delete branch created locally code example Example: how to delete branch locally $ git branch -d <local-branch>