title: How can a branch be both X commits ahead and Y commits behind?
body: <p>I was checking some of the projects in github and in one of them I noticed this:</p>
  
  <p><code>This branch is 287 commits ahead, 361 commits behind X:Master</code></p>
  
  <p>How exactly is this possible ?</p>