code: func (w *Worktree) Submodule(name string) (*Submodule, error) {
  	l, err := w.Submodules()
  	if err != nil {
  		return nil, err
  	}
  
  	for _, m := range l {
  		if m.Config().Name == name {
  			return m, nil
  		}
  	}
  
  	return nil, ErrSubmoduleNotFound
  }
docs: // Submodule returns the submodule with the given name