Git Tutorial
Git Installation And Setup On Windows
How To Install And Setup Git On Windows ?
Follow these steps :
Download the latest version Git for windows from the link : https://git-scm.com/downloads
Once downloaded, go to the folder where it is allocated.
Double-click on the installer.
It will pop-up a wizard screen for Git setup.
Proceed with Next.
Here will be an option to keep your Git installation in a folder, you can browse to select a folder or just keep it with default one and move to Next.
In Select Components, hit on Next without changing any default selections.
Again, move to Next in 'Select Start Menu Folder'.
Now, choose 'Notepad++ as Git's default Editor' and then Next.
Go with the default one i.e. 'Git from the command line and also from the 3rd party software', and then Next.
Again, don't change the default selection of option 'Use the Open SSL library' and move to Next.
Here also, proceed Next with deafault selected option i.e. 'Checkout Windows-style,commit-Unix style line endings'.
Select 'Use MinTTY(the default terminal of MSYS2)' and then Next.
Choose 'Default(fast-forward or merge)' and click on Next.
Choose 'Git Credential Manager' as a credential helper and proceed to Next.
Enable file system caching and go ahead with Next.
No need to check any experimental option, so just simply click on Install.
Now, installation begins, it will take a while to complete it.
Wait for few minutes.
Once done, click on Finish.
Let's verify if the installation has done properly for Git. Open cmd, type 'git' and hit the 'Enter' button. It would display the following output :