add git pre-commit hook for coding style