list (and group) all the branches so far