Original address: http://blog.csdn.net/exlsunshine/article/details/18939329
1. Download the Windows version of Git:http://git-scm.com/downloads from the GIT website
2, the general use of the default settings: All the way Next,git installation is complete!
3, but if you open the Windows cmd, in which the git command will prompt "not internal or external command, not a running program", want to directly in Windows cmd use git command to add the following two steps
3.1, find the location of the bin in the Git installation path, such as: D:\Program Files\git\bin
Find the location of Git-core in the Git installation path, such as: D:\Program Files\git\libexec\git-core;
Note: "D:\Program files\git\" is the installation path, may not be the same as your installation path, to follow your own path to replace "D:\Program files\git\"
3.2, "Computer", "Properties", "Advanced system Settings", "Environment variables", in the "System variables" below find "path", select "Path" and select "Edit", Copy the 3.1 found bin and git-core paths to them, save and exit
Note: In "path", the semicolon in the English input state between each path--";" As an interval
Now you can use Git in cmd.
Go Windows configuration git