Sign Git Commits with GPG Keys
Improve the security of your commits by using GPG keys.
Configure the git client with the correct key. Then, head over to Settings/Preferences | Version Control | Git and check the option Configure GPG Key... to turn on this feature.