G is the apparent magnitude in the green part of the spectrum. Astronomers have a standardised set of optical bandpass filters to record the brightness of a star at various wavelengths - U (ultraviolet), B (blue), V (visual), G (green), etc. Using the letter ID of the filter to mean "apparent magnitude as seen through this filter" is a common convention.