It's a shortening of "gang" which people type a LOT more due to using it like slang, akin to something like "bro" or "y'all".