class Rugged::Repository

def branches

Returns a BranchCollection containing Rugged::Branch objects

All the branches in the repository
def branches
  @branches ||= BranchCollection.new(self)
end