title: My local Git "master" branch is ahead of 'origin/master' by 2 commits, but nothing I have tried shows me the difference
body: <p>I accidentally did some work on master, so I did some googling on how to commit those changes to a different branch other than master. I found this:</p>
  <pre><code>$ git reset --soft HEAD^
  $ git checkout -b BugFix
  $ git commit -c ORIG_HEAD
  $ git checkout master
  $ git pull
  $ git commit -m 'Fixed the merge conflicts.'
  $ git status
  </code></pre>
  <p>Which &quot;seemed&quot; to have fixed my issue, but it appears it made things worse.</p>
  <p>I have tried all of this:</p>
  <pre><code>$ git diff
  $ git diff local remote
  $ git diff master
  $ git diff master origin/master
  $ git diff master..origin/master
  $ git diff origin
  $ git diff origin/master
  $ git diff origin/master master
  $ git diff origin/master..master
  </code></pre>
  <p>None of these commands produces any output whatsoever, just back to my prompmt.</p>
  <p>Originally:</p>
  <pre><code>$ git status
  On branch master
  Your branch is ahead of 'origin/master' by 2 commits.
    (use &quot;git push&quot; to publish your local commits)
  nothing to commit, working tree clean
  </code></pre>
  <p>Our master is protected, so when I do this:</p>
  <pre><code>$ git push
  </code></pre>
  <p>I get this message:</p>
  <pre><code>Enumerating objects: 1, done.
  Counting objects: 100% (1/1), done.
  Writing objects: 100% (1/1), 233 bytes | 233.00 KiB/s, done.
  Total 1 (delta 0), reused 0 (delta 0), pack-reused 0
  remote: Analyzing objects... (1/1) (4 ms)
  remote: Storing packfile... done (21 ms)
  remote: Storing index... done (45 ms)
  To https://url/to/master/branch
   ! [remote rejected] master -&gt; master (TF402455: Pushes to this branch are not permitted; you must use a pull request to update this branch.)
  error: failed to push some refs to 'https://url/to/master/branch'
  </code></pre>
  <p>When I try:</p>
  <pre><code>$ git pull
  </code></pre>
  <p>I get this:</p>
  <pre><code>Already up to date.
  </code></pre>
  <p>At this point, all I want to do is see what has been changed so, maybe, I can blow away my local master and redo the changes manually.</p>
  <p>How do I do this?</p>
  <hr />
  <p>As Requested, the output of <code>git log</code> for the month of August:</p>
  <pre><code>commit a290975977b819d6719cd4e2e96f5d0ba9b3bc76 (HEAD -&gt; master)
  Merge: 11d13f4 59cdeac
  Author: MyUsername &lt;myusername@myhost&gt;
  Date:   Tue Aug 31 14:44:24 2021 -0400
  
      Fixed the merge conflicts.
  
  commit 59cdeace599969328c073a226205c9f3da12ab79 (origin/master, origin/HEAD)
  Author: MyUsername &lt;myusername@myhost&gt;
  Date:   Tue Aug 31 11:58:32 2021 -0400
  
      ~ ~ ~ ~ ~ ~ comments ~ ~ ~ ~ ~ ~
  
  commit 11d13f421f3f6c7f8ff8e18cf0d95a005c0465bb
  Author: MyUsername &lt;myusername@myhost&gt;
  Date:   Thu Aug 19 15:21:28 2021 -0400
  
      ~ ~ ~ ~ ~ ~ comments ~ ~ ~ ~ ~ ~
  
  commit 5e86a703a78a8065c322d116bb6e94070fb63cef
  Author: MyUsername &lt;myusername@myhost&gt;
  Date:   Wed Aug 18 09:48:46 2021 -0400
  
      ~ ~ ~ ~ ~ ~ comments ~ ~ ~ ~ ~ ~
  
  commit 2a2974e8a84b4728880538e3140ba6ead4f69c3b
  Author: MyUsername &lt;myusername@myhost&gt;
  Date:   Mon Aug 9 10:26:11 2021 -0400
  
      ~ ~ ~ ~ ~ ~ comments ~ ~ ~ ~ ~ ~
  
  commit b5756c095ab7321f679666e749a884af6b3f5213
  Author: MyUsername &lt;myusername@myhost&gt;
  Date:   Tue Aug 3 12:07:01 2021 -0400
  
      ~ ~ ~ ~ ~ ~ comments ~ ~ ~ ~ ~ ~
  </code></pre>