To complete the picture, I'm linking this thread by Nat Friedman (CEO of GitHub):
It is painful for me to hear how trade restrictions have hurt people. We have gone to great lengths to do no more than what is required by the law, but of course people are still affected. GitHub is subject to US trade law, just like any company that does business in the US.
02:56 AM - 28 Jul 2019
To sum up a couple of highlights:
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.