This hook is called after pre-receive, and it works the same way. It's called before anything is actually updated, but is called separately for each ref that was pushed rather than all of the refs at once.
This hook accepts the following 3 arguments:
name of the ref being updated,
old object na...