code: func (g *Git) GetRevision(ctx context.Context, name, revision string) ([]byte, error) {
  	name = strings.TrimSpace(name)
  	revision = strings.TrimSpace(revision)
  	args := []string{
  		"show",
  		revision + ":" + name,
  	}
  	stdout, stderr, err := g.captureCmd(ctx, "GetRevision", args...)
  	if err != nil {
  		out.Debug(ctx, "Command failed: %s", string(stderr))
  		return nil, err
  	}
  	return stdout, nil
  }
docs: // GetRevision will return the content of any revision of the named entity
  // see https://git-scm.com/docs/git-log#_pretty_formats