FreeKB - How to download and install Git
How to download and install Git

Home > Search > How-to

Download and install Git

  1. Download Git from
  2. At Information, select Next.
  3. At Select Destination Location, select your preferred destination, and select Next.
  4. At Select Components, select your preferred components, and select Next.
  5. At Select Start Menu Folder, type the name that you want to appear in the start menu, and select Next.
  6. At Adjusting your PATH environment, check Use Git from Git Bash only and select Next.
  7. At Choosing the SSH executable, check Use OpenSSH and select Next.
  8. At Choosing HTTPS transport backend, check Use the OpenSSL library and select Next.
  9. At Configuring the line ending converation, check Checkout Windows-style, commit Unix-style line endings and select Next.
  10. At Configuring the terminal emulator to use with Git Bash, check Use MinTTY and select Next.
  11. At Configuring extra options, check Enable file system caching and Enable Git Credential Manager and select Install.


Initialize Git

  1. Select the Windows Start icon, type git in search, and select Git Bash.
  2. Move to the directory where the files you want to track reside. In this example, the files reside in the C:/Users/john.doe/Sample directory.
$ cd C:/Users/john.doe/Sample
  1. Type git init and press enter. This will create the hidden .git folder.

In this example, the hidden .git folder is located at C:\Users\john.doe\Sample\.git.

Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter in the box below so that we can be sure you are a human.