code: func DecodeCommit(s storer.EncodedObjectStorer, o plumbing.EncodedObject) (*Commit, error) {
  	c := &Commit{s: s}
  	if err := c.Decode(o); err != nil {
  		return nil, err
  	}
  
  	return c, nil
  }
docs: // DecodeCommit decodes an encoded object into a *Commit and associates it to
  // the given object storer.