git hooks: windows opmization