- Mobile DevOps
- Rohin Tak Jhalak Modi
- 347字
- 2025-04-04 17:14:05
Installing Git on Windows
Installing Git on Windows is as simple as installing any GUI-based application. Follow the steps to install Git on Windows:
- To download the latest Git for Windows installer, go to https://git-scm.com/downloads. Select Windows and the download will start:

- Once downloaded, start the installer file.
- The next screen will ask you to accept the license. Click Next.
- Provide the path for the Git installation; you can leave the default path as-is if you like and click Next.
- The next screen is where you select how you would like to use Git on your system. There are multiple options provided. The first option lets you use Git from Git Bash, which is a command line for Git. The second option lets you user Git commands from both Git Bash and the Windows Command Prompt, which is great and adds flexibility to your use of Git. It is best to select the second option and click Next:

- Next, we'll be choosing the OpenSSH client for remote connection, which is the default for Git:

- Select the SSL library to be used for HTTPS connections. You can leave the default as-is, or change it according to your needs; click Next:

- Select line ending styles to be used by Git while checking out your code and committing. You have to make a choice, because developers could be using different systems, such as Windows and Linux, for development purposes and line ending styles vary in different systems. So, keeping the same line ending style for commits is always recommended:

- Select the terminal emulator to be used for Git Bash to run commands; MinTTY is more flexible and is the default option:

- In the final step, select all the features you would like to enable and click Install:

- Once the files are extracted into the path folder and installation is complete, click Finish:
- Now, open a command prompt or Git Bash and run the following commands to set your username and email to be configured:

Git installation is now completed, and the user's identity is configured to be used for commits.