title: Disallow branching from and merge of specific branches
body: <p>Is there a git hook or some other way to prohibit branching from and merging of specific branches. We want to make sure that we don't merge a "dirty" integration branch into our clean deployment branch.</p>
  
  <p>The major goal is that people cannot execute something like this:</p>
  
  <pre><code>git checkout integration
  git checkout -b major_problem_branch
  </code></pre>
  
  <p>or</p>
  
  <pre><code>git checkout deployment_or_hotfix_or_feature_branch
  git merge integration
  </code></pre>