Update pre-commit.git.sh to fit for linux