title: List all commits (across all branches) for a given file
body: <p>This question is closely related to <a href="https://stackoverflow.com/questions/3701404/git-list-all-commits-for-a-specific-file">List all commits for a specific file</a> however it is different. I want to find out which commits, <strong>across all branches</strong>, had modified a given file.</p>
  
  <p>To make it more complex, the given file may or may not be in the working tree.</p>