Working post-receive git hook