Progress:
0/12

Navigation

Install Git

Save versions of your projects and sync with GitHub

Guide Progress: 0 of 0 steps completed
1

Go to the Git website

Download Link

Git website homepage

Step 1
2

Click 'Download for Windows'

On the homepage, click Download for Windows.

Download for Windows

Step 2
3

Click 'Click here to download'

On the next page, click Click here to download.

Click here to download

Step 3
4

Open the downloaded installer file

Once the file has downloaded, open it.

Open Git installer file

Step 4
5

Click 'Yes' when prompted

If asked by User Account Control, click Yes.

Select Yes in prompt

Step 5
6

Click 'Next' until you reach Select Components

Keep clicking Next until you arrive at the Select Components screen.

Next until Select Components

Step 6
7

Select 'On the Desktop' shortcut

On the Select Components screen, check On the Desktop.

Select On the Desktop option

Step 7
8

Click 'Next' until Adjusting the name of the initial branch

Keep clicking Next until you reach the branch name settings.

Next until initial branch screen

Step 8
9

Select 'Override the default branch name for new repositories'

Choose Override the default branch name for new repositories.

Override default branch name

Step 9
10

Click 'Next' until Install

Continue clicking Next until the Install screen appears.

Next until Install screen

Step 10
11

Click 'Install'

Click Install to begin installation.

Click Install

Step 11
12

Click 'Finish'

When the installation completes, click Finish.

Click Finish

Step 12
13

Check Git version in VS Code

Open VS Code, then click Terminal → New Terminal. Type the following command and press Enter:

Terminal
git --version

You should see something like: git version 2.xx.x.

Check Git version in VS Code

Step 13
1

Type 'git' in VS Code terminal

In VS Code, open a terminal and type the following command:

Terminal
git

You will receive a message prompting you to install developer tools.

Note on macOS Developer Tools

On macOS, Git comes bundled with the Apple Command Line Tools.
This installation is handled directly by macOS, not from the Git website.

Git prompt in VS Code terminal

Step 1
2

Click 'Install' when prompted

A pop-up will appear asking to install the developer tools.
Click Install to continue.

Click Install developer tools

Step 2
3

Click 'Agree'

Review the license agreement and click Agree.

Click Agree to continue installation

Step 3
4

Click 'Done'

Once installation completes, click Done to close the installer.

Click Done after installation

Step 4

Verification Steps

The following verification step is identical for all platforms once Git is installed.
⚠️ Windows users will see additional prompts during installation,
but the command to check the version is the same.

5

Verify Git version

In VS Code, open Terminal → New Terminal and type:

Terminal
git --version

You should see something like: git version 2.xx.x.

Check Git version in VS Code

Step 5