You can sign your git commits with a GPG key. To do set it up, follow the Github instructions. Taking this step improves the integrity of git commits.
Sign your commits with the following flags:
git commit -S -m your commit message
On Mac, you may need to download the GPG tools suite.
To have git use gpg2 rather than gpg:
git config --global gpg.program gpg2