Create Branch.collect for branch list

Move this out of the `Collector` and into the `Branch.collect` method for better adherence to SRP.