Sort:  

I have tried it, won't work with visual studio 2013.

can u provide a error?

Something like this:
error: Unable to find vcvarsall.bat

Looks like you need to search that file (vcvarsall.bat) and add its' directory to PATH variable.
It may have path like C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat
so you need to add C:\Program Files\Microsoft Visual Studio 9.0\VC\ to you PATH variable, jast as described in the fifth paragraph (Installing Git)