- 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
- Go to the official Git website https://git-scm.com/downloads
- Click the download link for Windows.
Step 2: Launch Git Installer
- Browse to the downloaded file (or use the download shortcut in your borwser) and Double click it.
- Allow the app to make changes to your computer by clicking Yes on the User Control dialog that opens.
- Review the GNU General Public License and click Next.
- The installer will ask you for an installation location. Leave the default, unless you have reason to change it, and click Next.
- A component selection screen will appear. Leave the defaults unless you have a specific need to change them. Click Next.
- The installer will offer to create a start menu folder. Simply click Next.
- Select a text editor you'd like to use with Git. Use the drop-down menu to select
- 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.
- 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.
- 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.
- 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.
- 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.
- Choose the terminal emulator you'd like to use. The default MinTTY is recommended. Click Next.
- The installer now ask what the
git pull
command should be. The default isgit pull
, but if you're working in a team that requires a different command, leave the default and click Next.
- 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.
- 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.
- 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.
Now installtion is start, you can wait for the installation to finish.
- Once the installation is compelete, tick the boxes to Launch Git Bash and untick View Release Notes. Click Finish.
Cangratulations! You've installed Git on Window 10.
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.