Git: Understanding post-receive
===

I'm fairly new to the Git world after moving from SVN recently and I'm trying to understand the `post-receive` hook.

Hopefully I'm correct in saying that this is a server-side hook but how would I use the `post-receive` hook to run a command client-side or is there another hook to achieve this?

---

Eg.

`post-receive` hook runs on server. Sends command to client/committer and that command runs on their computer (eg. echo Commit received.)

---

And sorry if I got this all completely wrong - I'm new to Git.