you can do either, video is easier to replay parts, scales up or down easily, and there's sound.
You can use reaper to convert video to gif or video to gif
cockos makes a gif recording tool called LICEcap
http://cockos.com/licecap/
I use imgur to share gifs, or youtube unlisted videos