2 words across 2 languages descend from Latin ge — including gi, gi.
See the etymology of ge itself →