Right! Queen to G5 checks the king but also opens the white rook up to attack the black queen in a "discovered check" that wins the black queen!
Homepage
Since you got this correct you get to know the fifth letter of the
password to the game page: S!