I'm fairly new to git and it seems surprisingly easy to rewrite past commits.
I'm aware of the signed commits, and if I understand it correctly, it prevents against unauthorized/untrusted write access, including a compromission of the github platform itself.
But what happens if the private key of a single trusted account on github gets compromised ? How can I check that from now on, there are only new commits ?