What is White’s Response to the Threat of Queen G1 Checkmate?

Chess Puzzle #411 | Black queen is threatening with the Qg1 checkmate. What is the correct response?