The author was bullied by Nintendo into voluntarily removing the repos, it wasn't DMCA'd.
GitHub had nothing to do with this one. And just like with Yuzu, plenty of people have uploaded copies of the repo already, thanks to git's decentralized nature where everyone have a full copy of the entire history.