GitHub has to comply with the DMCA. You wouldn't have a case against them if you wanted to sue.
Literally every repo that got DMCA'd had an opportunity to fight back, and they chose to cave instead. I don't see why repositories going down is a reflection of GitHub's ethics.