๐ก
Who this guide is for
Complete this setup before starting Module 0. If you already have Git and VS Code installed and configured, you can skip to
Module 0 โ Introduction.
By the end of this guide, you will have:
- Git installed and configured on your Windows machine
- VS Code installed with the terminal working
- Your name and email set in Git globally
- A
PMCourse folder ready for the course files
- Cloned your first repository from GitHub
Step-by-Step Setup
Step 1 of 8
Install Git
- Go to https://git-scm.com/download/win
- The download starts automatically โ open the
.exe file
- Click Next on every screen (defaults are fine)
- Click Finish
Step 2 of 8
Install VS Code
- Go to https://code.visualstudio.com
- Click Download for Windows and open the
.exe
- Accept the agreement, click Next on every screen
- On "Select Additional Tasks" โ check both of these:
โ
Add "Open with Code" to Windows Explorer
โ
Add to PATH
- Click Install โ Finish
Step 3 of 8
Open Terminal & Verify Git
- Open VS Code
- Press
Ctrl + ` to open the integrated terminal
- Type the following and press Enter:
โ
You should see: git version 2.x.x
โ ๏ธ
If you see an error: close VS Code completely and reopen it. The PATH update needs a fresh start.
Step 4 of 8
Set Your Name and Email
Replace the values below with your real name and email. These identify your commits in Git.
git config --global user.name "Your Name"
git config --global user.email "your@email.com"
Step 5 of 8
Verify Your Configuration
Run these commands to confirm Git has saved your name and email:
git config --global user.name
git config --global user.email
Each command should print back the value you set in Step 4.
Step 6 of 8
Create Your PMCourse Folder
Choose one of the two options below:
Option A โ Terminal
mkdir C:\Users\YourUsername\Desktop\PMCourse
code C:\Users\YourUsername\Desktop\PMCourse
Replace YourUsername with your actual Windows username.
Option B โ File Explorer
- Go to your Desktop โ right-click โ New โ Folder
- Name it
PMCourse
- Open VS Code โ File โ Open Folder โ select
PMCourse
Step 7 of 8
Get the Repository URL from GitHub
- Open the GitHub repository page in your browser
- Click the green Code button
- Make sure HTTPS is selected (not SSH)
- Click the copy icon next to the URL
๐ก
The URL will look like: https://github.com/username/repository.git
Step 8 of 8
Clone the Repository
In the VS Code terminal, navigate to your PMCourse folder and clone the repo:
cd C:\Users\YourUsername\Desktop\PMCourse
git clone https://github.com/username/repository.git
A new folder will appear inside PMCourse with all the repository files.
Quick Reference
| What |
Command |
| Check Git version | git --version |
| Set name | git config --global user.name "Your Name" |
| Set email | git config --global user.email "you@email.com" |
| Check name | git config --global user.name |
| Check email | git config --global user.email |
| Go to PMCourse folder | cd C:\Users\YourUsername\Desktop\PMCourse |
| Clone a repo | git clone https://... |
๐
You're all set!
Git is installed, VS Code is configured, and your workspace is ready. Head to
Module 0 โ Introduction to begin the course.