tg-update: add -a support for all branches