Making git find the ssh key in Windows 8

In my defense, I got used to mercurial finding the key by it self, not having to setup anything in my machine (except adding the key to pageant – putty authentication agent).

Git for some reason wouldn’t find the key loaded in pageant, after a search in google I found that I need to have a environment variable (GIT_SSH) set to the path of my putty plink applicationĀ  (in my case. C:\Program Files (x86)\PuTTY\plink.exe).

Reference: http://guides.beanstalkapp.com/version-control/git-on-windows.html#installing-ssh-keys