git config gpg sign program code example Example: git config gpg sign program gpg --list-secret-keys --keyid-format LONG