title: How to manage Parent-Child Hierarchy in Git
body: <p>I want to get the idea on how to manage the Parent-Child Hierarchy in <code>git</code>.
  Let's say I have a <code>master</code> branch where code will be updated once a week. I have made a new branch say <code>MainDev</code> for development. 
  When the team works, they create branches on their local like <code>NewBranch</code>.
  I have 2 questions:</p>
  
  <ul>
  <li>How can I push the newly created branch only to <code>MainDev</code> so that, <code>MainDev</code> and all the pull requests I create, should be merged only on <code>MainDev</code>?</li>
  <li>Is there any way that BitBucket automatically merges the <code>MainDev</code> branch to master and updates <code>master</code> and <code>MainDev</code> once a week? </li>
  </ul>