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