list multiple branches in version info

in case last commit is a octopus merge