xxxxxxxxxx
You need to add the following paths to PATH:
C:\Program Files\Git\bin\
C:\Program Files\Git\cmd\
Important: Open cmd after installation of git
xxxxxxxxxx
Modifying PATH on Windows 10:
1. In the Start Menu or taskbar search, search for "environment variable".
2. Select "Edit the system environment variables".
3. Click the "Environment Variables" button at the bottom.
4. Double-click the "Path" entry under "System variables".
5. With the "New" button in the PATH editor, add C:\Program Files\Git\bin\ and C:\Program Files\Git\cmd\ to the end of the list.
6. Close and re-open your console.