- Download the Git for Windows installer.
- Run the installer and follow the steps below:
- Click on "Next" four times (two times if you've previously installed Git). You don't need to change anything in the Information, location, components, and start menu screens.
- Select "Use the nano editor by default" and click on "Next".
- Keep "Git from the command line and also from 3rd-party software" selected and click on "Next". If you forgot to do this programs that you need for the workshop will not work properly. If this happens rerun the installer and select the appropriate option.
- Click on "Next".
- Select "Use the native Windows Secure Channel library", and click "Next".
- Keep "Checkout Windows-style, commit Unix-style line endings" selected and click on "Next".
- Select "Use Windows' default console window" and click on "Next".
- Leave all three items selected, and click on "Next".
- Do not select the experimental option. Click "Install".
- Click on "Finish".
-
If your "HOME" environment variable is not set (or you don't know what this is):
- Open command prompt (Open Start Menu then type
cmd
and press [Enter]) -
Type the following line into the command prompt window exactly as shown:
setx HOME "%USERPROFILE%"
- Press [Enter], you should see
SUCCESS: Specified value was saved.
- Quit command prompt by typing
exit
then pressing [Enter]
- Open command prompt (Open Start Menu then type
This will provide you with both Git and Bash in the Git Bash program.