Is Gif said like Gif(t) or Jif?
See
this page
for a thorough and logical explanation of the correct pronunciation.