code: func (g *Git) Add(ctx context.Context, files ...string) error {
  	if !g.IsInitialized() {
  		return store.ErrGitNotInit
  	}
  
  	for i := range files {
  		files[i] = strings.TrimPrefix(files[i], g.path+"/")
  	}
  
  	args := []string{"add", "--all", "--force"}
  	args = append(args, files...)
  
  	return g.Cmd(ctx, "gitAdd", args...)
  }
docs: // Add adds the listed files to the git index