You typically want to enable the post-update hook on the server by mv '${GITDIR}/hooks/post-update.sample' '${GITDIR}/hooks/post-update'.
This makes sure that the repository works with dumb servers which is required for things like http/cgit.
This makes sure that the repository works with dumb servers which is required for things like http/cgit.