Added a pre-commit hook to back up the database before each commit.