title: Git avoid pushing new branches to remote through local config
body: <p>I am familiar with <strong>.git/config</strong> file in the repository (basic understanding) and I would like with some changes in this configuration file to <strong>avoid that a new branch in the remote is created</strong>. Is this possible?</p>
  
  <p>I have seen a few nice approaches from the server side, but since we are using Bitbucket I believe it's not possible to add a bash hook to the repository, which would easily solve the problem. I have also seen some of the plugins and none seem to do it (or could not find it).</p>
  
  <p>I've Spent some time reading and "trying" to understand better the config file format which has many options, hoping that one option will allow me to do this, but no success so far. </p>
  
  <p>Bottom line: </p>
  
  <ul>
  <li>Most important is that no new branch except the existing ones are created in the remote</li>
  <li>If this parameter also avoids the creation of a new branch locally even better. </li>
  <li>I have no problem with local permissions. I understand that a user can edit the config file himself and just create the remote brannch, but this is not a security issue, it´s just a workflow improvement for our release process.</li>
  </ul>
  
  <p>Any suggestion is highly appreciated. </p>