added pre-commit hook for git and puppet