read branch info from tree