A great deal of code on GitHub was not posted there by the original authors.
So any argument that posting stuff online provides an implicit license is severely flawed.