Hello. Hope I report this correctly.
Just installed Git-1.7.11-preview20120704.exe and can see an issue with git.exe wrapper, where it returns 1, instead of 0.
From a new install on a windows xp machine without any git installation before.
Microsoft Windows XP [Version 5.1.2600](C) Copyright 1985-2001 Microsoft Corp.
Y:>echo %errorlevel%
0
Y:>git --version
git version 1.7.11.msysgit.1
Y:>echo %errorlevel%
1
Y:>
On a windows 7 64 bit, just upgraded to 1.7.11.1, and still have the old git.cmd wrapper.
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\cst>echo %errorlevel%
0
C:\Users\cst>git.cmd --version
git version 1.7.11.msysgit.1
C:\Users\cst>echo %errorlevel%
0
C:\Users\cst>git.exe --version
git version 1.7.11.msysgit.1
C:\Users\cst>echo %errorlevel%
1
C:\Users\cst>