Github has sanctioned developers in various countries, see article below. Also Github has forced renaming of usernames if not politically correct; i know its happened to at least 1 Russian. With Msft controlling github.com, its become political.
Discussion
"GitHub is subject to U.S. trade law, just like any company that does business in the U.S." - Nat Friedman