Comentário oficial
GSD is the size of a pixel on the ground. To relate the two you essentially project the physical dimensions of the camera's sensor onto the ground using the lens. To do this you need to know the physical size of the sensor area, the size of the pixels, the resolution, the focal length of the lens and the distance to the objective.
Or you can use a calculator: