It this information becomes a requirement during registration, then some people will have to lie about it. That’s how it currently works with other restrictions.
I would like to not leave it unmentioned that I think that sanctions on GitHub and similar services which have a civilizing effect are counter-productive. People can learn there to interact peacefully with others, improve their skills and employment opportunities, thus become less likely to be recruited as mercenaries.
Github is probably a side effect from sanctions which should have banned the export of Microsoft products. I would plead to exclude Github and similar services from sanctions on commercial software products.