Github already has centralised protections to do with who can and cannot do various things, and so do other similar systems like gitlab.
So nothing is really gained but not allowing this, but it makes git very user-hostile because mistakes cannot easily be undone.