Search code examples
gitcygwingit-bash

Cygwin or Git Bash command window?


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?


Solution

  • 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.