How is that unlikely? Unless Github has a very, very atypical employment contract, all employees are at-will[1]. Sure, it might damage Tom or Github's reputation if he just randomly fired people[2], but he
could. Saying that it would also bring down the rest of the company doesn't really help.
[1] Of course, you still have to give two weeks notice if you want to exercise that at-willness for yourself!
[2] I mean, unless he "randomly" fires all the people of race X, or something like that