code: func (s *basic) Commit() error {
  	for _, c := range []interface{ Commit() error }{
  		s.ObjectStorage,
  		s.ReferenceStorage,
  		s.IndexStorage,
  		s.ShallowStorage,
  		s.ConfigStorage,
  	} {
  		if err := c.Commit(); err != nil {
  			return err
  		}
  	}
  
  	return nil
  }
docs: // Commit it copies the content of the temporal storage into the base storage.