I use git from scoop. Open git bash to access the gpg
binary. If you install gpg
from scoop it will not work as git doesn't know about it.
gpg --import private.key
git config --global user.signingKey [LONG GPG ID]
git config --global commit.gpgSign true