Earlier quoted context omitted.
The difference is right there in those IPA renderings. The superscript h means the g should be aspirated (like the k typically is in 'key' in English; also 'spin' vs 'pin'). See https://en.wikipedia.org/wiki/Aspirated_consonant You might not hear the difference as the English language does not assign meaning to that difference. But if I pronounce 'key' or 'pin' without aspiration, you may feel that I speak with an ac…
spin, bin, and pin rhyme to me an a native English speaker. Are you sure westerners say ghee “wrong” and not just with a different accent?
It's the exact same way Indians mispronounce many English words when they map it to some equivalent native sounds.