How To Install Git On Windows

Installing Git on windows is simple, just follow the wizard and everything will be done. But, during the installation, there is some step that may be confusing to some people, so this short tutorial will guide and explain you how to install Git on windows.

1. Download Git

Visit the download page of the official Git website:, and then click on Windows link. Automatically it will download the lastest version of the Git installation file that matched to your system, 32 or 64 bit. Currently, the lastest version is 2.7.0. Git website look like this:


Once the download is complete, run the installer

2. Welcome screen

First, it will display the Wellcome Screen, just click Next >

3. License Agreement

Next, we’ll be informed about the License Agreement, click Next >

4. Installation Folder

Choose where to install Git. The default location is C:\Program Files\Git

5. Choose The Component

In this step, we can choose what components will be installed, or leave as is, then click Next >

6. Start Menu Folder

Next step we choose a name for the start menu folder, the default is Git, then click Next >

7. Choose Git Environment

In this step we choose how we use Git from the command line, by default, the installer will choose Use Git from Git Bash Only, this option will not modify the PATH in the windows environment, but only allows you to run Git from Git Bash only.

If you want to use Git along with another command based program such as Python or Node.js (eq: for building a custom version of jquery), you need to choose the second option: Use Git from the Windows Command Prompt that allow you to run Git from the windows command prompt, otherwise choose the first option.


8. Line Ending Conversion

In this step, we’ll determine how Git treat line ending (new line), line ending character differ based on operating system used, for example Windows and Mac OS use \r\n, while Linux uses \n

There are terms about LF and CRLF.

LF stands for Line Feed which is represented with \n character, while CR stands for Carriage Return which is represented with \r character, then CRLF is a combination of both (\r\n).

Because windows use CRLF, and the remote repository may serve to Linux server, so the right option is the first one.


9. Choose Terminal Emulator

Next step is choosing terminal emulator that will be used while using Git Bash. If you don’t use Git Bash at all, just ignore it and click next to go to the next step.

Git Bash is Linux style command line that ported to windows

There is two option whether use MinTTY which developed based on Linux or use default console window of Windows OS (cmd.exe). 

If you familiar with Linux command line, then the first option is right for you (note: you can still run windows command while using MinTTY), otherwise, choose the second one.

As described in the wizard, the console window has some limitations: width is fixed (prior to windows 10), the scroll-back is very limited means that very limited command history, need to be configured to use Non-ASCII Character, etc… while MinTTY doesn’t.

Example of Git Bash run on MinTTY Terminal:


Example of Git Bash run on Windows Terminal:



10. File System Caching

Next we choose whether or not to use the system cache, using cache will improve the application performance, in the version that I use, this feature is still in development stage, if not sure you may leave this feature, then click Next >

11. Installing

This will show the installation progress (such as extract and copy the files), wait until completed.

12. Completing The Setup Wizard

Installation completed, click Finish to exit the setup.

13. Make sure it works

After the installation process is complete, we need to test it to make sure the software has been installed properly and can run Git well. To do so, open a terminal window and run the command git --version, as shown in the following figure:


Subscibe Now

Loves articles on join our newsletter to get quality article right to your inbox. Nothing else, just quality stuff!!!

Our Commitment: We respect your privacy, we'll not share your credential to any party

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Like Us


Great information from right to your inbox

  1. Understanding JSONP – With Javascript and jQuery Examples

  2. JSON With Javascript and Ajax

  3. JSON From Database – PHP and MySQL

  4. JSON in HTML Document

  5. JSON With PHP – A Complete Guide

  6. Understanding JSON – A Comprehensive Guide

  7. 7 Best Free Online Image Compressor & Optimizer Tools – Compared & Tested

  8. 40+ Modern Free WordPress Themes For Blog in 2017 – Beautiful & Responsive

  9. Understanding Constant in PHP – Updated to PHP 7

  10. Understanding Variable in PHP – All PHP Version