It would be helpful, if GitHub made it clear that repositories without an explicit open source license grant fall under the full scope of Copyright restriction. It seems there is a common misconception that any code simply shared on GitHub is free to use.
However, it seems the case for this DMCA takedown is probably not clouded by the "publicly available means free use" misconception.