GIMP is just a free alternative to Photoshop. EZGIF is a website. I'd be concerned about uploading my pictures to another website and having them send them back to me. GIMP, on the other hand, is something you install on your computer, so it's never accessible to anyone else.
I used GIMP for about ten years before I could afford Photoshop.