title: Git won't show log unless I am in the project directory
body: <p>I am trying to call <code>git log</code> while I'm in a different directory. I pass the location where the <code>.git</code> is</p>
  
  <pre><code>git log /Users/Leica/proj1
  </code></pre>
  
  <p>but it says "not a git repo". If I <code>cd</code> into this directory, it works fine</p>
  
  <pre><code>cd /Users/Leica/Proj1
  git log
  </code></pre>
  
  <p>Which is not clear to me. The <a href="https://www.kernel.org/pub/software/scm/git/docs/git-log.html" rel="nofollow"><code>git log</code> documentation</a> says</p>
  
  <blockquote>
  <pre><code>git log [[--] &lt;path&gt;…]
  </code></pre>
  </blockquote>
  
  <p>So what am I doing wrong?</p>