What was the environment variable you set? I'm having the same issue.
In my case it was globally set GIT_SSH, I suppose it was the same variable Sergei Antipov. When I removed from SYSTEM scope it and set it for USER scope, everything came back to normal.