delete local branch that is unmerged code example Example: how to get unmerged branch git git branch --no-merged master