Enable GPG signing by default: ```bash git config --global commit.gpgsign true git config --global gpg.program (Get-Command gpg).Source git config --global --unset gpg.format gpg --list-secret-keys --keyid-format=long git config --global user.signingkey B862284A2975BD3B! ``` Install GPG for Windows: ```bash winget install GnuPG.Gpg4win ``` Import the private and public keys: ```bash gpg --import .\B862284A2975BD3B.gpg ``` > Note, that for me, my primary key is `DC85D5DF95F8694`, so the above command is importing my sub-key private key `B862284A2975BD3B`.