Ginny, pulling just as dangerous of a stunt that Harry normally did, was able to stay on the course and gather speed on the snitch. The snitch tried to do a serpentine pattern but Ginny was able to keep up on the snitch, even able to cut some corners to get closer. She reached out towards the snitch and just as another score was made against Gryffindor, she caught the snitch.