first setup to protect protected branched to force updates
rebased for new code
Merge pull request #128 from Popl7/add-better-branch-protection-against-history-rewrite-and-deletion

protect protected branched to force updates