I have two picks for Windows:
OBS as an all-around "stream/screen capture/composite" - can convert the resulting clip to GIF after with e.g. an ffmpeg script.
ShareX for screenshots. It's a little more convenient than the "windows clipboard" route most of the time