The context is a Windows cmd shell (used by the git-cmd.bat script):
Following "Exiting batch with EXIT /B X where X>=1 acts as if command completed successfully when using && or || operators between batch calls", you could define in your path a true.bat file with: