Add -ab for --branches without argument

Discussed in #638