git: "Updates were rejected because the tip of your current branch is behind.." but how to see differences? : <p>I just finished working on a piece of code. Wanted to push and got the already famous:</p>

<blockquote>
  <p>hint: Updates were rejected because the tip of your current branch is
  behind hint: its remote counterpart. Integrate the remote changes
  (e.g. hint: 'git pull ...') before pushing again.</p>
</blockquote>

<p>Now I've seen this question posted several times here, e.g.</p>

<p><a href="https://stackoverflow.com/questions/25237959/updates-were-rejected-because-the-tip-of-your-current-branch-is-behind-hint-its">Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g</a></p>

<p><a href="https://stackoverflow.com/questions/39399804/updates-were-rejected-because-the-tip-of-your-current-branch-is-behind">Updates were rejected because the tip of your current branch is behind</a></p>

<p>According to the specific case, the solution is either to </p>

<ul>
<li><code>git pull</code>, so the remote changes are <em>merged</em> on to my local work, OR</li>
<li><code>git push -f</code>, a force push to update the remote (origin) branch.</li>
</ul>

<p>Now, it has been a while I haven't worked on this branch. I don't necessarily want to <em>merge</em> the remote changes onto my current work! Nor do I know if I can safely <em>force</em> the update on the origin branch...</p>

<p>How can I just see the differences and decide which is best for my case?</p>
