Git: Windows
Task 1 - Download and install Git
- Go to the Git download page at https://git-scm.com/download/win
- Click the “Download” button to download the Git installer
- Run the installer file that you downloaded
- Accept the default installation options and click “Install”
- Choose the appropriate options for line ending conversion and terminal emulator during the installation process
Task 2 - Configure Git
- Open a command prompt or PowerShell window
- Run the following commands to configure Git with your name (your real name, e.g. “Denise Case”) and the email address you used for GitHub:
git config --global user.name "Your Name"
git config --global user.email "your.email@example.com"
- Important: Replace “Your Name” with your name and “your.email@example.com” with the email address associated with your GitHub account
- This configuration will be used for all of your Git repositories
Task 3 - Verify
- Run the following command to verify your Git configuration:
git config --list
- You should see your name and email address listed under the “user” section
- If the information is not correct, run the
git config
command again to update it