Hard. I never even considered that it could be soft, which is weird since I always pronounced .gif the way the creator pronounces it (i.e., with a soft G). I guess since Gil is an actual name with an actual pronunciation I always assumed it was meant to be a hard G.