How is the pronunciation of gh ? Is it a g sound or a throat r as in Arabic ?
Forvo is great for things like this: https://forvo.com/search/ghali/
Apparently in Swahili "gh" represents the sound labeled /ɣ/ in the IPA. This is the sound you get if you pronounce the "ch" sound in "Bach" or "loch" while activating your vocal cords. It's also the sound represented by "γ" in modern Greek. (also present in many other languages Wiki)