fix call git error on windows