I don't really see why people are confused about this. He probably exercised some poor judgement, as they said, but poor judgement and illegalities are often a long ways apart. The best thing for both parties was probably for him to leave. He was a distraction to GitHub, and this whole mess is a distraction for him. Part ways, both parties move on and continue. I don't think it comes across sketchy, personally. There was almost no way he was going to stay on long-term, given this history. It's a liability for the company, and honestly he's probably on eggshells around the company anyways.
Even as the author states, it's hard to PROVE that something was sexist. I imagine he said some inappropriate things, and maybe even did some inappropriate things, but proving that they were illegal is a WHOLE different bag.
>The entire situation reads: A male executive can do something that’s wrong/sexist. The company will want to cover itself legally, so it will discredit the claims.
Let's fix that. "An executive can do something that's wrong/sexist. The company will want to cover itself legally, so it will discredit the claims." Let's not make this about gender. A company has a duty to its shareholders to protect itself.