70

I'm referring to the shell that comes with GitHub for Windows (Github CLI), and Git Bash (which has a stand alone installer).

3
  • I think they're just two different kinds of consoles, but wait for someone who knows better than I. Commented May 26, 2013 at 8:19
  • have you seen this: stackoverflow.com/questions/14551989/…
    – mrz
    Commented May 26, 2013 at 8:20
  • 1
    I'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. Commented Jun 16, 2017 at 18:37

1 Answer 1

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.

1
  • 3
    Thank you, I was so confused at first too but now it makes sense! Commented Oct 13, 2015 at 23:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.