Using Git Bash for git in Windows

Yash Sharma
Kharagpur Open Source Society
3 min readOct 5, 2018

This blog post helps in installing git bash, for using git in windows. Git for Windows provides a BASH emulation used to run Git from the command line. *NIX users should feel right at home, as the BASH emulation behaves just like the “git” command in LINUX and UNIX environments.

Steps to install Git for Windows

  1. Click on the link to [download]. This will redirect to a page, where git will be automatically downloaded.
First window for installation
You can check off Git GUI, if you do not need it
If you are having any preferable text editor, you can choose one.
Choose option 1 , unless you know what you are doing
You can skip bleeding edge technology
Git is being installed
Voila ! Git is installed

Some Steps before we start using Git

Note, we have to set username, and proxy settings, for using git in windows.

Configure git:

  1. After you’ve installed git properly, it’s time to set some variables for the git configuration. You’ve to do this only once. Follow the commands on terminal.

2. User settings to be set —

git config --global user.name "ABC"
git config --global user.email "abc.iitkgp@gmail.com"
git config --global http.proxy http://172.16.2.30:8080 // Setting system.proxy in git git config --global https.proxy https://172.16.2.30:8080
git config --global core.editor gedit

3. Now check git config --list to know you've set the variables correctly.

Congratulations, you’ve git up and running on your computer. Now, it’s time to start learning git.

--

--