Sometimes the letter “g” makes the “j” letter “sound” just like the letter “j” . When you see a “g” try the “g” letter “sound” if that does not sound right try the “j” letter “sound”.
g as j
digit digital frigid gin ginger gist illogical logic magic magical origin original regiment rigid