Adding post-commit hook to RepoMonitor.