code: func (g *Git) Commit(ctx context.Context, msg string) error {
  	if !g.IsInitialized() {
  		return store.ErrGitNotInit
  	}
  
  	if !g.HasStagedChanges(ctx) {
  		return store.ErrGitNothingToCommit
  	}
  
  	return g.Cmd(ctx, "gitCommit", "commit", "-m", msg)
  }
docs: // Commit creates a new git commit with the given commit message