Or, if they prefer to host themselves, they can spend the money to buy the bandwidth and Arbor (or other?) equipment.
The fact is that -- like github -- they are being DDoSed and have to do something about it if they want to stay in business. I'd be interested in hearing what github did to mitigate their attacks. I can't find any info on it (but I'm guessing that perhaps they want to keep it secret).