code: func (g *Git) ConfigList(ctx context.Context) (map[string]string, error) {
  	if !g.IsInitialized() {
  		return nil, store.ErrGitNotInit
  	}
  
  	buf := &strings.Builder{}
  
  	cmd := exec.CommandContext(ctx, "git", "config", "--list")
  	cmd.Dir = g.path
  	cmd.Stdout = buf
  	cmd.Stderr = os.Stderr
  
  	out.Debug(ctx, "store.gitConfigList: %s %+v", cmd.Path, cmd.Args)
  	if err := cmd.Run(); err != nil {
  		return nil, err
  	}
  
  	lines := strings.Split(buf.String(), "\n")
  	kv := make(map[string]string, len(lines))
  	for _, line := range lines {
  		line = strings.TrimSpace(line)
  		p := strings.SplitN(line, "=", 2)
  		if len(p) < 2 {
  			continue
  		}
  		kv[p[0]] = p[1]
  	}
  	return kv, nil
  }
docs: // ConfigList returns all git config settings