code: func (g *Git) HasStagedChanges(ctx context.Context) bool {
  	st, err := g.wt.Status()
  	if err != nil {
  		out.Error(ctx, "Error: Unable to get status: %s", err)
  		return false
  	}
  	return !st.IsClean()
  }
docs: // HasStagedChanges retures true if there are changes which can be committed