code: func NewUploadPackResponse(req *UploadPackRequest) *UploadPackResponse {
  	isShallow := !req.Depth.IsZero()
  	isMultiACK := req.Capabilities.Supports(capability.MultiACK) ||
  		req.Capabilities.Supports(capability.MultiACKDetailed)
  
  	return &UploadPackResponse{
  		isShallow:  isShallow,
  		isMultiACK: isMultiACK,
  	}
  }
docs: // NewUploadPackResponse create a new UploadPackResponse instance, the request
  // being responded by the response is required.