code: func (g *Git) Add(ctx context.Context, files ...string) error {
  	if len(files) < 1 || (len(files) == 1 && files[0] == g.path) {
  		return g.addAll()
  	}
  	for _, file := range files {
  		if strings.HasPrefix(file, g.path) {
  			file = strings.TrimPrefix(file, g.path+string(filepath.Separator))
  		}
  		_, err := g.wt.Add(file)
  		if err != nil {
  			return errors.Wrapf(err, "failed to add file '%s': %s", file, err)
  		}
  	}
  	return nil
  }
docs: // Add adds any number of files to git