My understanding of the DMCA is that GitHub essentially has their hands tied here, they are legally obligated to take down the content until OP counter-claims unless they want to assume liability for it (obviously, they don't).
For the same reason, I seriously doubt their DSA appeal/complaint will be going anywhere - GitHub is legally obligated to take down their repository and I would be astounded if any regulator considered following a legal obligation disproportionate.
I don't like it either, but that is the current status of US copyright law. If OP doesn't want to be subject to it, they should consider hosting their git repositories on a service that isn't run by a US company.