I've looked around the answers on SO, and the web, and I can't see anything on how to set up a server-side git hook on github (as opposed to webhooks). Is there a way to do this?
Or alternatively, is there a way to set it up so that .git/hooks is a symlink to a part of the working tree at the time of cloning?
I should add that this is an internally-hosted github server.