Installing Git - Windows
In this quick blogpost, I will share the steps that you can follow in order to install git(2.31.0) on a Windows computer using Firefox as web browser. After completing all the steps of this blog, you should be able to execute git commands using the command prompt.
Installing Git for Windows
1) Downloading Git Executable
- Go to Git Downloads website.
- Click on
Windows
under theDownloads
section.
- Click on
Save File
.
2) Running Git Executable
- In your
Downloads
directory, right click on the Git executable and selectOpen
.
- Allow the app to make changes clicking on
Yes
.
3) Completing the Git Setup
- Click on
Next
.
- Select
Destination
folder and click onNext
.
- Select
Components
that will be installed and click onNext
.
- Select
Start Menu
folder and click onNext
.
- Select
Default Editor
application and click onNext
.
- Select
Let Git Decide
the name of the initial branch in new repositories and click onNext
.
- Select the
Recommended
option for adjusting your PATH environment and click onNext
.
- Select
Use the OpenSSL libray
and click onNext
.
- Select
Checkout Windows-style, commit Unix-style line endings
(Recommended setting on Windows) and click onNext
.
- Select
Use MinTTY
(Default terminal of MSYS2) and click onNext
.
- Select
Default
(fast-forward or merge) and click onNext
.
- Select
Git Credential Manager Core
and click onNext
.
- Select
Enable file system caching
and click onNext
.
- Click on
Install
.
- Wait for the installation process to complete.
- Uncheck the
View Release Notes
box and click onFinish
.
Validating Git Installation
- Open a
command prompt
window and run the following command.git --version
Subscribe to Open Threat Research Blog
Get the latest posts delivered right to your inbox