This command can be found at
-> .This option toggles the visibility of a grid superimposed to the image. It allows to line up different selected elements of a layer.
Default is set in the Image Window/Appearence.
See also Configure Grid and Snap to Grid