TIL git looses commit signature after rebasing and merging with GitHub. Rebasing locally and then force pushing into main is bad idea. Here is one solution Rebase And Sign Multiple Git Commits to do it locally and manually. But it doesn’t solve a problem of need to force push into main.