Skip to content

Instantly share code, notes, and snippets.

@LavizaFalakNaz
Last active July 25, 2021 10:13
Show Gist options
  • Save LavizaFalakNaz/7497e70bec824ed63bf51db621293096 to your computer and use it in GitHub Desktop.
Save LavizaFalakNaz/7497e70bec824ed63bf51db621293096 to your computer and use it in GitHub Desktop.
Installing Git on Windows
Installing Git prompts you to select a text editor. If you don’t have one, we strongly advise you to install prior to installing Git. Our roundup of the best text editors for coding may help you decide.
Download Git for Windows
1. Browse to the official Git website: https://git-scm.com/downloads
2. Click the download link for Windows and allow the download to complete.
Extract and Launch Git Installer
3. Browse to the download location (or use the download shortcut in your browser). Double-click the file to extract and launch the installer.
4. Allow the app to make changes to your device by clicking Yes on the User Account Control dialog that opens.
5. Review the GNU General Public License, and when you’re ready to install, click Next.
Accept Git Terms of Use
6. The installer will ask you for an installation location. Leave the default, unless you have reason to change it, and click Next.
7. A component selection screen will appear. Leave the defaults unless you have a specific need to change them and click Next.
8. The installer will offer to create a start menu folder. Simply click Next.
Create shortcuts in Windows Start Menu
9. Select a text editor you’d like to use with Git. Use the drop-down menu to select Notepad++ (or whichever text editor you prefer) and click Next.
10. This installation step allows you to change the PATH environment. The PATH is the default set of directories included when you run a command from the command line. Leave this on the middle (recommended) selection and click Next.
Adjust Git path enviorment
11. 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.
12. The next selection converts line endings. It is recommended that you leave the default selection. This relates to the way data is formatted and changing this option may cause problems. Click Next.
Select line end conversions
13. Choose the terminal emulator you want to use. The default MinTTY is recommended, for its features. Click Next.
Additional Customization Options
14. 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. Click Next.
15. Depending on the version of Git you’re installing, it may offer to install experimental features. At the time this article was written, the option to include interactive options was offered. Unless you are feeling adventurous, leave them unchecked and click Install.
Complete Git Installation Process
16. Once the installation is complete, tick the boxes to view the Release Notes or Launch Git Bash, then click Finish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment