title: git warning: Log for 'master' only goes back to a date? How to refer to remote branch instead of local branch?
body: <p>When I execute the below command in a working branch (checked out from remotes/origin/master today):</p>
  
  <pre><code>git checkout master
  git diff --name-status "@{2 days ago}" "@{now}"
  </code></pre>
  
  <p>It says:</p>
  
  <pre><code>warning: Log for 'HEAD' only goes back to Thu, 19 Sep 2019 16:01:05 -0700.
  </code></pre>
  
  <p>Yet when I check <code>git log master</code>, it clearly goes back further back:</p>
  
  <pre><code>commit a2d1acfe855899e7e9562a16b692aa5d1f44d5dd (HEAD -&gt; master, origin/master)
  Merge: 1cfee7bc5 14583d879
  Author: ABC
  Date:   Wed Sep 18 14:05:51 2019 -0700
  
      Merge-Request: 2457 from 'CXSFA-44175' into 'master'
  
  commit 1cfee7bc5c292c09a108e0319ddcec8ab3608887
  Merge: 8ab7bc71e 80464ea73
  Author: DEF
  Date:   Wed Sep 18 10:03:04 2019 -0700
  
  </code></pre>
  
  <p>Andrew's comment in this question (<a href="https://stackoverflow.com/questions/34799426/git-log-for-master-only-goes-back-to-date-bug">git: Log for &#39;master&#39; only goes back to date bug?</a>) says:
  "The master@ is using the reflog, which correlates to your local repository creation, and not the commit dates"</p>
  
  <p>But, I couldn't figure out the solution for this issue.
  I just want to get the log from the remote master branch and not my local working copy.</p>