newvers.sh: restore reporting branch names
It got removed arguably without much discussion in the commit which added gitup support.