The closest real word to GIF in the english language is “gift”, which is pronounced with a hard G. Since soft G’s are somewhat rare and there doesn’t appear to be any suitable modifier in GIF, it’s reasonable to similarly assume a hard G there as well.