[PATCH 11/18] dim: use git branch --list