Add global post-commit and post-merge hooks