Merge branch 'stable-2.16' into stable-3.0

* stable-2.16:
  Fix and clarify documentation of ref-update and commit-received hooks
  Correct documentation of ref-update hook regarding output

Change-Id: Ia446c95e1f6ca12e1cbd198d3a7e4f6a16b09fc6