Re: "GitHub [..] has apologized for the error in its code"
I am not sure about that. Yes, it would be a nice gesture, but basically the root cause of the problem was 1) developer doing something stupid (storing authentication keys with code) with 2) free tools provided by MS and GitHub. In these circumstances it's really difficult to expect GitHub to pay up.
It would be nice if they did, though.