How can I build Git 2.4.5 for Windows 7 x64? I downloaded zip-file of code sources and extracted it. If I try to build these sources through nmake
utility of MS Visual Studio 2013, then I get an error:
Do you actually want to build Git, or simply to have a newer version than the official 1.9.5 that's currently available via git-scm.com?
The git-for-windows
project will be replacing msysgit as the official Windows build of Git later this year. It has been making prereleases available on its GitHub releases page for some time, the latest of which at the time of writing is a preview based on Git 2.4.5.
If you truly want to build it yourself, I strongly recommend using the sources from this project since it will eventually be the source of stable releases and it contains "Windows-specific patches". Its "Building Git" wiki page is probably your best guide.