Good idea that should be implemented by git itself, for use by any software forge like github, gitlab, codeberg, etc.
https://git-scm.com/book/en/v2/Git-Tools-Signing-Your-Work