TIL When you hover over a syllable of the phonetic notation on (English) Wikipedia, it shows you an example for its pronunciation

https://sh.itjust.works/post/46785145

Your choice of screen shot makes it look like a statement. Fortunately, you made the right choice.
‘g’ in ‘gin’
The only correct pronounce
G in gnat
G as in jack