I\'m attempting to clone a repo from my BitBucket account to my Windows 10 laptop (running GitBash). I\'ve completed all of the steps necessary to connect (set up my SSH key
In your git bash shell, check for existence of GIT_SSH:
echo $GIT<tab><tab>
If it exists and is set to putty, execute:
unset GIT_SSH
You'll probably want to put this into one of the git bash startup scripts.
This is NOT a universal solution. It worked in our particular case.
I managed to get it working by running plink directly, after pageant is running use the plink command directly - plink.exe -agent -v git@github.com then after this git works without hanging.