make readBranches short
merged 91fd509 from [jooyunghan]