Unable to resolve “unable to get local issuer certificate” using git on Windows with self-signed certificate

The problem is that git by default using the “Linux” crypto backend. Beginning with Git for Windows 2.14, you can now configure Git to use SChannel, the built-in Windows networking layer as the crypto backend. This means that it will use the Windows certificate storage mechanism and you do not need to explicitly configure the … Read more

Git under windows: MSYS or Cygwin?

Edit (2 more years later: October 2014) Johannes Schindelin just explained (Oct. 2014) that msysgit is phased out: we now have a light-weight Git for Windows SDK – which is essentially a standard MinGW/MSys system managed through the package manager mingw-get. We decided to just phase out the name “msysGit” (as well as the GitHub … Read more

Git Bash is extremely slow on Windows 7 x64

You can significantly speed up Git on Windows by running three commands to set some config options: git config –global core.preloadindex true git config –global core.fscache true git config –global gc.auto 256 Notes: core.preloadindex does filesystem operations in parallel to hide latency (update: enabled by default in Git 2.1) core.fscache fixes UAC issues so you … Read more

fatal: early EOF fatal: index-pack failed

First, turn off compression: git config –global core.compression 0 Next, let’s do a partial clone to truncate the amount of info coming down: git clone –depth 1 <repo_URI> When that works, go into the new directory and retrieve the rest of the clone: git fetch –unshallow or, alternately, git fetch –depth=2147483647 Now, do a regular … Read more

Difference between msysgit and Cygwin + git?

Edit 2018: Since my 2010-2012-2014 answer, in 2015 Git for Windows uses msys2, as I detail here. See more in “How are msys, msys2, and msysgit related to each other?“. Edit (2 more years later: October 2014) Johannes Schindelin just explained (Oct. 2014) that msysgit is phased out: We now have a light-weight Git for … Read more