Update pre-commit.git.sh to allow partial commit