// for local dev unmerged branches git branch --no-merged master // for origin dev unmerged branches git branch -r --no-merged origin/dev // for origin dev merged branches git branch -r --merged origin/dev