Added git hook endpoint that will be called by Github.