Ensure .sh scripts have LF and .bat scripts have CRLF in working directory. Avoid conversion of Unix scripts to CRLF when checking out with core.autocrlf=true, on Windows, what may cause shell failures.