Microsoft seems rather friendly to governments (e.g. NSAKEY).
Similarly, Microsoft has the US government as a customer too. They might instruct GitHub leadership to not complain and simply follow the requests by the US government.
Duh? Huawei was added to the US Department of Commerce's Bureau of Industry and Security Entity List. You were imagining that after years of successful open collaboration with Huawei that Google woke up one morning and decided to screw them? You should take some time and re-evaluate what biases have skewed your perspective to such an extent that you were prepared to believe such an unreasonable thing.
Surely, that sentence of mine was exaggerating. They clearly were forced. But they certainly don't care much about it or their reaction would have been different.
Muslims are generally sympathized in those circles, while huawei, and to a lesser extent, China, does not garner any sympathy, so the executives feel no moral obligation to condemn this.
Unless the executives want to go to jail, they will comply with export restrictions.
If this gets extended to GitHub (potentially likely), then that would be a disaster both for China and for open source.