I'm referring to the shell that comes with GitHub for Windows (Github CLI), and Git Bash (which has a stand alone installer).
Asked
Active
Viewed 7.5k times
70
-
I think they're just two different kinds of consoles, but wait for someone who knows better than I. – Madara's Ghost May 26 '13 at 08:19
-
have you seen this: http://stackoverflow.com/questions/14551989/cygwin-or-git-bash-command-window – mrz May 26 '13 at 08:20
-
1I've tried using Git for Windows, but was first introduced to Git Bash during a Udacity course. Since I don't really work with Powershell, and a lot of data analysis is also done on Linux, which I do have some experience with, I prefer using Git Bash. – Rick Henderson Jun 16 '17 at 18:37
1 Answers
99
Well, for one thing, the default shell that comes with GitHub for Windows is PoshGit, which is a Windows Power Shell environment for Git. On the other hand, Git Bash/msysGit uses the Bash shell (Bourne Again Shell) and MinGW, which is a port of a Linux style environment and command line tools.
PoshGit will let you use Windows and Power Shell commands with Git at the command line, while Git Bash will let you use MinGW/Linux tools with Git at the command line.