How to Install Git on Windows

How to Install Git on Windows Tutorial

Last updated on 29th Sep 2020, Blog, Tutorials

About author

Kathir (Sr Technical Manager )

Delegates in Corresponding Technical Domain with 7+ Years of Experience. Also, He is a Technology Writer for Past 3 Years & Share's this Informative Blogs for us.

(5.0) | 15263 Ratings 987

Git is an open-source distributed version control system. It is designed to handle minor to major projects with high speed and efficiency. It is developed to co-ordinate the work among the developers. The version control allows us to track and work together with our team members at the same workspace.

  • Git is foundation of many services like GitHub and GitLab, but we can use Git without using any other Git services. Git can be used privately and publicly.

What is Git?

Git is currently the most popular implementation of a distributed version control system.

Subscribe For Free Demo

Error: Contact form not found.

Git originates from the Linux kernel development and was founded in 2005 by Linus Torvalds. Nowadays it is used by many popular open source projects, e.g., the Android or the Eclipse developer teams, as well as many commercial organizations.

The core of Git was originally written in the programming language C, but Git has also been re-implemented in other languages, e.g., Java, Ruby and Python.

WHAT IS GIT FOR WINDOWS ?

First of all, there are many GUI (graphical user interface) so-called Git clients for Windows — take a look at this list here. However, in this tutorial we will focus on the simplest, free and very easy to use Git for Windows found here:Naturally, this entire project is hosted on GitHub, a “cloud” version of the Git itself here: 

And finally, in case you wish to read about differences between msysGit and Git For Windows naming conventions and all the confusion that arises between them – go here

In a nutshell, using layman’s terms, Git for Windows is a version control built in executable form (.exe) which you can download and install on your Windows OS machine (XP, Vista, 7, 8, 10…). It comes with 2 versions:

  • Git Bash (this is a terminal or command line version of Git for Windows)
  • Git GUI (this is what we are talking about and will use today in this tutorial — this is a zero CLI — no command lines Git tutorial for newbies!

Git Installation

Git is a distributed version control system. It is used for tracking changes in source code during development. The goals include speed, data integrity, non-linear workflows, etc.

Git was developed in 2005. It is free and open-source software that is distributed under the terms of the GNU version 2.

The Git has gained massive popularity among all the developers, and open source has incorporated many features.

A number of projects use Git for version control. i.e., both commercial and personal.

  • Performance: The Git provides the best performance that comes to the version control systems. For better performance, it merges all the optimized committing, branching.
  • Security: The Git handles our security with cryptographic method SHA-1. Its algorithm manages our version, files, and the directory securely so that our work is not corrupted.
  • Branching Model: The Git has a different branching model than the other VCS. The branching model lets us have multiple local branches that are independent of each other. It enables us to have friction-less context switching, role-based code, and disposable experimentation.
  • Staging Area: The Git has an intermediate stage called “index’ or “staging area” that can be formatted and modified before completing the commit.
  • Distributed: The Git is distributed in nature. A distributed means the repository or the complete code base.
  • Open Source: This is an important feature of any software. It is an open source that invites all the developers of the software and makes it more and more powerful through features and plugins.

Installation Guide Git on Windows Step by Step:

The steps for downloading and installing the Git software are as follows:-

For downloading the Git, go to the Git website https://git-scm.com/download/win into computers browser.

git-documentation
  • Click on the 64-bit Git for Windows Setup.
downloading-git
  • In the next step, double-click on the downloaded file. The file name should be something like Git-2.22.0-64-bit.
 Next-button-appearing
  • Click on the Next button appearing at the bottom of the setup window.
general-public-license
  • In the next step, if we want to install the setup in another location then click on the Browser button at the right-side of the setup window, if not then click on the Next button at the bottom of the setup window.
Course Curriculum

Get Advanced Git Courses with Instructor-Led Training

Weekday / Weekend BatchesSee Batch Details
 right-side-of-the-setup-window
  • Click on the Next button after selecting the file location.
selecting-the-file-location
  • In the next step, we have to choose the adjustment of our path environment. It is where we decide how we want to use Git.
adjustment-of-our-path

We can select any three options according to our need. But for Laravel, we are going to use Git from the command line.

  • After selecting the Git from the command line, click on the next button at the bottom of the setup window.
 setup-window
  • In the next step, select the SSL/TLS library for HTTPs connections.
https-transport-library

In the above screen, we can select either of the option from the Setup window according to our need, in this case we are selecting the OpenSSL library. And then click on the Next button at the bottom of the setup window.

OpenSSL-library
  •  In the next step, we have to choose the features for Git. We have three options, and we can select any of them, all of them are as per our needs.
configuring-extra-options
  • In the final step, we have to choose the terminal. We can choose one option from the given options. The default option is terminal of MYSYS2 that is a collection of GNU like bash, and grep to allow the building of applications and programs that depend on traditionally UNIX tools to be present. Or we can choose the windows default console window (cmd.exe.).
 default-console-window
Devops Sample Resumes! Download & Edit, Get Noticed by Top Employers! Download
  • Click on the Finish button at the bottom of the Setup window.
completing-the-git-wizard

Are you looking training with Right Jobs?

Contact Us

Popular Courses