code: func (r *Repository) TreeObjects() (*object.TreeIter, error) {
  	iter, err := r.Storer.IterEncodedObjects(plumbing.TreeObject)
  	if err != nil {
  		return nil, err
  	}
  
  	return object.NewTreeIter(r.Storer, iter), nil
  }
docs: // TreeObjects returns an unsorted TreeIter with all the trees in the repository