Add middleware for triggering git pull