Added method to retrieve repository's branches