Gif in text slang means Graphic Interchange Format (pronounced "jif"). It is essentially a video cut up into frames at a fast speed, much like a stop motion.
A good source to look at this is Urban Dictionary:
http://www.urbandictionary.com/define.php?term=GIF
A gif file has information that cannot be directly editing it just by modifying it as raw text. If you open your .GIF in notepad, you will see what I mean.
penis
. On My Way
lpl
Miss You!
gtk
Text You Back
make love to me
Before You Leave
No big Deal!
Did not laugh/does not like
you take care :)