Since few days ago, every time I start Git GUI in a repository, it displays this horrifying error message and quits after I click OK:
prepare-commit-msg hook fai
I had the same problem. The solution which worked for me was almost same as the one suggested by XandrGuard
c:\msysgit\bin>rebase.exe -b 0x50000000 msys-1.0.dll
Solution is explained here http://jakob.engbloms.se/archives/1403
For me solution was slightly different. It was
C:\Program Files (x86)\Git\bin>rebase.exe -b 0x50000000 msys-1.0.dll
Hope it helps people who are trying to google the problem