Adding pre-commit script and a helper script for setting up the symlink in the .git/hook directory.