Nothing is "obvious".
For all we know this could be a bored teenager sitting in his basement in New York, Paris, Tokyo or Moscow.
It could also be a false flag operation by the NSA, to massage the western adolescent nerd's mindset into quietly accepting their next round of mass surveillance ("Must protect from the evil chinese!").
The Chinese openly attacking GitHub is the least plausible scenario, unless you think they are stupid.