code: func DecodeUploadPackResponse(r io.ReadCloser, req *packp.UploadPackRequest) (
  	*packp.UploadPackResponse, error,
  ) {
  	res := packp.NewUploadPackResponse(req)
  	if err := res.Decode(r); err != nil {
  		return nil, fmt.Errorf("error decoding upload-pack response: %s", err)
  	}
  
  	return res, nil
  }
docs: // DecodeUploadPackResponse decodes r into a new packp.UploadPackResponse