The admin repo includes a special hook that is run for both update & post-update. In update mode, it prevents deletion of the master branch.