title: What is the purpose of .git/log
body: <p>I've noticed <code>.git/log</code> while searching where git saves stash commits. Found that:</p>
  
  <pre><code>$ ls .git/logs/
  HEAD  refs 
  $ diff .git/refs/ .git/logs/refs/ | head -n3
  Common subdirectories: .git/refs/heads and .git/logs/refs/heads 
  Common subdirectories: .git/refs/remotes and .git/logs/refs/remotes 
  diff .git/refs/stash .git/logs/refs/stash 
  </code></pre>
  
  <p>Meaning <code>stash</code> - is the only unique file under <code>logs</code>. But it doesn't shed light on the rationale for this folder. So what is the purpose of <code>.git/log</code> and why git duplicates references?</p>