how to delete local branches in git bash code example Example: git delete local branch git branch -d test