create git pre-commit hook file