Linux, specifically Debian.
(Also, not everyone here is a guy; I'm not.)
SpacemanSpiffed: Game developer here - I got a lot of machines for various purposes and a game library that goes back decades.
Windows XP (on 2010 Mac Mini) - for old games
Windows 7 (on SFF PC with GTX 1060) - for not quite so old games
Windows 10 (on several machines, desktop & laptop)
MacOS 13 (Ventura) - M2 Pro Mac Mini
Windows 11 - hahahaha - don't want to touch it (but will probably have to soon)
I would recommend getting a computer with some reasonably mainstream Linux distribution, so that you can test your games on it. (Should be an x86 machine, so not a Raspberry Pi. A cheap mini PC may be enough if you're targeting lower spec machines.)