title: Creating branch inside a branch in git
body: <p>In my repository, I have a master branch and then a staging branch coming out of master branch. Now I need to add a third branch that should come out from staging branch. That means I need a branch coming out of another branch. Can anyone help in this?</p>
  
  <p>The syntax I used for creating branch is like this: </p>
  
  <pre><code>git branch &lt;name_of_your_new_branch&gt;
  
  git push origin &lt;name_of_your_new_branch&gt;
  
  git checkout &lt;name_of_your_new_branch&gt;
  </code></pre>