// those not in master git branch --no-merged master // those not in current HEAD git branch --no-merged git branch -r --no-merged // compare with origin git branch -r --no-merged origin/master