title: How to prevent a user from pushing to it's remote branch if it's branch not update to date with master
body: <p>Could any one help I used git on local server.
  I create a branch for every developer in a team. All developers make push to it's remote  branch, then I make merge and pushing it to master.</p>
  <p>I have only one a problem, any developer can push to it's remote branch without make pull from master.</p>
  <p>How I can solve this problem ,to make a developer must make pull from master before make push to it's remote branch? Is git-hock appropriate?</p>