Step by Step: Installing Git on Windows

Step by Step: Installing Git on Windows

Follow these simple steps to install and configure Git on Windows.

Step 1: Download Git

  1. Go to the official Git website https://git-scm.com/download/win.
  2. Under “Download for Windows”, click on the 64-bit Git for Windows Setup button to download the latest installable version.

Step 2: Run the Installer

  1. Once the download completes, run the Git setup wizard .exe file.
  2. Accept the license agreement and click Next. Keep clicking Next to use the default options.
  3. Select any additional options you want like enabling symbolic links or POSIX commands.
  4. Click Install to begin the installation. This may take a few minutes.

Step 3: Open Git Bash

The Git Bash command line tool will be installed as part of the setup. You can find and open it on your machine.

Step 4: Configure Your Git Username and Email

To associate your commits with your identity, you need to set your username and email address:

$ git config --global user.name "Your Name"
$ git config --global user.email "email@example.com"

Replace “Your Name” and “email@example.com” with your own details.

Step 5: Verify the Installation

To verify Git has been installed correctly and you are ready to use it, run:

$ git --version

This should print the installed Git version.

And that’s it! Git is now ready to use on your Windows 10 machine.

Leave a Reply

Your email address will not be published. Required fields are marked *


Translate ยป