Published on

How To Install Git On Window 10 Step by Step? | What is Git?

What is Git?

Git is a free version control system for tracking changes in computer files and coordinating work on those files among multiple people. Git also helps you to versionize your code and portentially save it on a remote server (for example GitHub, Gitlab or Bitbucket).

In this Git installation on Windows article, you will find a step-wise guide to install git on windows 10. Let's get started.

Prerequisites

  • You need to have a Windows 10 or higher operating system.
  • You need to have an internet connection.
  • Access to a command-line.
  • Your favorite text editor.

Note Installing Git prompts you to select a text editor. If you don't have one, we strongly recommend you to install one. In this article, we will use .

Step 1: Download Git for Windows 10

  1. Go to the official Git website https://git-scm.com/downloads
  2. Click the download link for Windows.
what-is-tmux

Step 2: Launch Git Installer

  1. Browse to the downloaded file (or use the download shortcut in your borwser) and Double click it.
install-git-launcher-on-window10
  1. Allow the app to make changes to your computer by clicking Yes on the User Control dialog that opens.
install-git-launcher-allow-changes
  1. Review the GNU General Public License and click Next.
install-git-launcher-review-license
  1. The installer will ask you for an installation location. Leave the default, unless you have reason to change it, and click Next.
install-git-launcher-install-location
  1. A component selection screen will appear. Leave the defaults unless you have a specific need to change them. Click Next.

install-git-launcher-component-selection

  1. The installer will offer to create a start menu folder. Simply click Next.
install-git-launcher-start-menu-folder
  1. Select a text editor you'd like to use with Git. Use the drop-down menu to select
install-git-launcher-select-text-editor
  1. The next step allows you to choose a different name for your intial branch. The default is master. If you're working in a team that requires a different name, leave the default and click Next.
install-git-launcher-initial-branch
  1. This installation step allows you to change the PATH environment variable. The PATH is the default set of directories included when you run a command from the command line. Leave this on middle (recommended) and click Next.
install-git-launcher-path-environment-variable
  1. The installer now asks which SSH client you want Git to use. Git already comes with own SSH client, so if you don't need a specific one, leave the default opion and click Next.
install-git-launcher-ssh-client
  1. The next option relates to server certificates. Most users should use the default. If you're working in an Active Directory environment, you may need to switch to Windows Store certificates. Click Next.
install-git-launcher-server-certificates
  1. The next selection converts line endings. It is recommended that you leave default selection. This relates to the way data is formatted and changing opetion may cause problems with your data. Click Next.
install-git-launcher-line-endings
  1. Choose the terminal emulator you'd like to use. The default MinTTY is recommended. Click Next.
install-git-launcher-terminal-emulator
  1. The installer now ask what the git pull command should be. The default is git pull, but if you're working in a team that requires a different command, leave the default and click Next.
install-git-launcher-git-pull-command
  1. Net you should choose which credential helper to use. Git uses credential helpers to fetch or save credentials for remote servers. Leave the default and click Next.
install-git-launcher-credential-helper
  1. The default options are recommended, however this step allows you to decide which extra option you would like to enable.if you use symbolic links, which are like shortcuts for the command line, tick the box and click Next.
install-git-launcher-extra-options
  1. Depending on the version of GIt you're installing, it may offer to install experimental features. At the time this article was written, the options to include support for pseudo controls and a built-in file system monitor were offered. Unless you are feeling adventurous, leave the default and click Next.
install-git-launcher-experimental-features

Now installtion is start, you can wait for the installation to finish.

install-git-launcher-experimental-features-2
  1. Once the installation is compelete, tick the boxes to Launch Git Bash and untick View Release Notes. Click Finish.
install-git-launcher-finish

Cangratulations! You've installed Git on Window 10.

install-git-launcher-finish-2

Now installation is end and you want to use Git. But before you can use Git, you need to configure it.

If you want to configure Git for your computer, read this article Configuring Git for Windows.