The correct pronunciation of ".GIF" is just as controversial as the pronunciation of "Linux". I don't think your friend gets to claim unequivocally how it's pronounced.
For the former, I personally consider that an acronym derives from the words it's abbreviating. All else being equal, then, I pronounce it with a hard "g". Also, it's the only way the joke "beware geeks bearing .GIFs" works.