title: What is the difference between merging master into branch and merging branch into master?
body: <p>I have a branch called <code>master</code> and another called <code>dev</code>. Usually, I do tests and improvements on <code>dev</code>; when done, I merge it into <code>master</code>, tag it, and release new version of the application. </p>
  
  <p>Now, I face a decision to make in regard to merging:</p>
  
  <ol>
  <li>merge <code>master</code> into <code>dev</code></li>
  <li>merge <code>dev</code> into <code>master</code></li>
  </ol>
  
  <p>but I am not really sure how the two are different... Any explanation would be welcome.</p>