34

I'm new to Git. I downloaded Git and installed on my Windows. I saw Git provides a Git Bash command window. I also have Cygwin installed on my machine. Both Git Bash and Cygwin provide Git command line utilities. So my question is: Which one is the preferred way to use Git command: Running Git commands in Git Bash or Cygwin?

tonga
  • 11,749
  • 25
  • 75
  • 96

1 Answers1

27

git-bash is enough, unless you need more recent bash feature (since the bash from MingW used by msysgit is quite old)

See also "Difference between msysgit and Cygwin + git?".

For instance, GitHub for Windows would use msysgit, not git in Cygwin.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • 1
    Github for windows uses "Git for Window". You mentioned this in this [answer](http://stackoverflow.com/a/3144417/2455888). While this [answer](http://stackoverflow.com/a/16757442/2455888) states that Github for windows uses "PoshGit" – haccks Dec 26 '14 at 17:09
  • 1
    @haccks PoshGit, as illustrated by this pull request (https://github.com/dahlbyk/posh-git/pull/66) uses in turn msysgit. – VonC Dec 26 '14 at 22:07