cglFixMyCommit.sh won't work on Windows
Build/Scripts/cglFixMyCommit.sh contains the weird construction where a shell script is passed to the PHP executable. This is probably done to make sure that the custom configuration of PHP is used in PHP scripts later on in the chain.
Apparently PHP is capable of running shell scripts. Even though I executed the script in Git Bash (part of Git for Windows; supports shebangs and many other bash features) it seems that PHP internally opens a Windows shell to execute the script. This won't work with shell scripts made for Linux.
In TYPO3 v7 the script was running fine, but after the changes to "squeeze the last bit of performance" out of the script it fails. Perhaps a version (.bat file?) can be made that contains the old methods? These ran pretty fast