code: func (g *Git) Commit(ctx context.Context, msg string) error {
  	if !g.HasStagedChanges(ctx) {
  		return store.ErrGitNothingToCommit
  	}
  
  	_, err := g.wt.Commit(msg, &git.CommitOptions{
  		All: true,
  		Author: &object.Signature{
  			Name:  os.Getenv("GIT_AUTHOR_NAME"),
  			Email: os.Getenv("GIT_AUTHOR_EMAIL"),
  			When:  time.Now(),
  		},
  	})
  	return err
  }
docs: // Commit creates a new commit