Config
$ git config --global user.signingkey=<yubikey-signing-sub-key-id>
$ git config commit.gpgsign true
$ git commit -m 'your commit message' --gpg-sign=6A886CD6
--OR--
$ git commit -S -m 'your commit message'
Show log:
$ git log --show-signature