I believe Slack did this too; if you've ever signed-in to Slack within a country that is currently restricted, your account was just deleted without warning.
Except GitHub seems to be handling it a lot more professionally. A clearer written policy and process for appeals - as opposed to Slack that did a behind the scenes change and borked a bunch of accounts.
I assume you go there for vacation or a business trip (for some business that isn’t sanctioned) so it doesn’t make sense to remove someone’s account just for visiting these countries.
When you give every company a log of your rough location, it's not surprising they'll find ways to abuse it contrary to your interests. Information can't be used to hassle you if you're not leaking it in the first place. We're at the point where it's just basic laziness to not be using a VPN that decouples your network access address from what webservices see.
If you travel to a Forbidden Zone, find they block wireguard, and don't have time to set up obfsproxy, that's a much more straightforwardly manageable outcome than being arbitrarily messed with after your return.
TLDR, you can visit these countries with the right visas and paperwork and nobody cares if you're a tourist. If you visit for several months out of the year and clearly have a business relationship with these sanctioned countries, then you have problems.
?!?@!