You can implement your "webhook" as a standard git post-receive:
https://www.kernel.org/pub/software/scm/git/docs/githooks.html. I
leave the exercise of figuring out the input to the hooks to you as it
is all in that git documentation.
Where gitolite comes into play is how the hook gets put in place
(custom hooks section).
> --
> You received this message because you are subscribed to the Google Groups "gitolite" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
gitolite+u...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.
--
Hope is a dimension of the spirit. It is not outside us, but within
us. When you lose it, you must seek it again within yourself and in
people around you -- not in objects or even events. -
-Vaclav Havel