Isn't Cloudflare pretty much a general purpose solution for DDoS? Is there any reason not to use them if you're often a target and don't want to deal with it yourself?
I don't think github became a target until very recently, and I imagine their corporate customers (using github enterprise) were unaffected by github.com uptime