Added branch info for non-default branches. Fixes #7