title: How does the Gerrit server intercept commits. Looking for technical details
body: <p>I understand that Gerrit receives git commits (using the <code>update</code> hook perhaps), and write them on a fake ref somewhere until the peer review is done, but how exactly does that process work in terms of the technical implementation? And what Git commands are involved?</p>