Code published on Github is not necessarily open source. There is a lot of code there that has no particular license attached, which means that all rights are reserved except for those covered in the Github TOS, which I believe just covers viewing the code on Github.