Theres a simple solution. Use a proxy. There's nothing Github can do.
It is not a simple IP restriction, they blocked every account that logged in from one of the sanctioned countries in the past year.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.