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?
Asked
Active
Viewed 4.8k times
1 Answers
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.
-
1Github 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