'git' is not recognized as an internal or external command
For solving that i use this steps:
I add the following paths to PATH:
C:\Program Files\Git\bin\
C:\Program Files\Git\cmd\
In windows 7:
Right-click "Computer" on the Desktop or Start Menu.
Select "Properties".
On the very far left, click the "Advanced system settings" link.
Click the "Environment Variables" button at the bottom.
Double-click the "Path" entry under "System variables".
At the end of "Variable value", insert a ; if there is not already
one, and then C:\Program Files\Git\bin\;C:\Program Files\Git\cmd.
Do not put a space between ; and the entry.