How to install Git Bash on Windows 10

Git Bash is a Windows terminal emulator used for the Git command line experience. Git Bash allows you to handle any code changes on the terminal itself, without the need for other coding environments such as Atom, Notepad ++, etc.

Git is pre-installed on most Linux systems, but if you are using Windows, follow the instructions below to install Git Bash on Windows 10.

How to Install Git Bash on Windows

When you install Git for Windows official download link is easy, check the steps given here carefully to avoid sync errors later. For Linux users, we have a beginner’s guide to installing Git.

Git Bash download page

After downloading, select the parts you want to install and remove the ones you don’t have. Accept the GNI General Public License as described below.

You must at least enable the “Git Bash” and “Git GUI” options, “enable Git support for large files”, “append .git configuration files to the default text editor, and” .sh files to run with Bash.

For Windows 10 users, the Git folder is created under Program Files by default. If you want, you can create a folder on the Start menu.

In the next step, you can also select Git’s default editor. While Vim is the default editor, you will find many other options such as Notepad ++, Atom, Visual Studio Code and Sublime Text. In this tutorial, we use Vim.

Next, you will be asked what the name of the original branch is. It’s safer to add a name like “let Git decide”. Adjust the path environment by selecting the recommended option “Git from the command line and also from third party software”.

Git Bash Git Path Environment
Git Bash trail environment

In the nesting phase, you must select the HTTPS transport backend. Use the OpenSSL library for excellent authentication.

Git Bash Git Https Transport Backend Openssl
Git Bash Transport Backend

The second Git policy concerns the end of a line in text files. Select “Order Windows Style, Confirm Unix Style Line Ends”.

Git Bash Line Endings Windowsstyle
Git Bash Line Endings Style windows

Of course, you need a terminal emulator to use with Git Bash. Select MinTTY, the default MSYS2 terminal, instead of the default Windows 10 console window. This will help you differentiate Git from other functions on your computer. In addition, the MinTTY window looks exactly like a command terminal.

Git Bash Mintty terminal
Default terminal Git Bash MinTTY selected

How to handle Git “Pull” requests? Select the default setting here.

Git Bash's default behavior
Git Pull default behavior

Select “Git Credential Manager Core” to manage GitHub and other third-party login information.

Git Bash Credential Manager Core
Git Bash Credentials Manager

Additional options

There are a few more options for configuration. To improve performance, click Enable File System Caching. The next screen also has experimental features, such as pseudo-consoles, that you can safely bypass.

Git Bash Git Advanced
Other Git Bash options

It will take a few more minutes to install Git on your machine.

Installing Git Bash
Git Bash Installing Git

Once the Git Setup Wizard has finished installing Git, you can launch Git Bash or open the program terminal in the “Administrator” mode of the Windows search box.

Configuring Git Bash Page 1
Git Bash Installation Wizard

Now that you’ve learned how to properly install the Git Bash Terminal emulator on Windows 10, you can start trying out different Git features, such as Git aliases. We also covered how to get started with GitHub project management. You can also host your blog for free on Jekyll and GitHub.

See also  How to install Windows 11 on an incompatible computer?

About the author


Leave a Comment