title: Configure GPG for Git on Windows
body: <p>I installed Git for Windows including Git Bash on Windows 10 and Gpg4win. By default, I had to re-import all keys I created via Kleopatra into the GPG version built into the Git Bash, and it won't allow me to setup an agent. What I need to do is to automate singing such that I don't need to enter the password every single time, but rather only the first time in a given period of time. How is that possible?</p>
  
  <p>I tried to follow <a href="https://jamesmckay.net/2016/02/signing-git-commits-with-gpg-on-windows/" rel="noreferrer">this tutorial</a>, but gpg2 does not use the correct charset when executed from within Git Bash, so it does not recognize keys which contain non-ASCII characters.</p>
  
  <p>Is there any way to solve this problem? What is the best way to use PGP signing with Git on Windows?</p>