I know that firehol lvl 3 have a bad habbit of blacklisting some of githubs ips...http://iplists.firehol.org/?ipset=firehol_level3
Can confirm that firehol l3 sometimes blocks github. That's why I don't use l3 anymore.