title: How to git log of all branches of a remote?
body: <p>In my local repository, I add a new remote and fetch its history:</p>
  
  <pre><code>$ git remote add foo_remote git@github.com:joe/foo.git
  $ git fetch foo_remote
  </code></pre>
  
  <p>Now, how to view the log of all branches of only this remote? I am interested in viewing the commits (using git log) and DAG of this remote only (using gitk).</p>
  
  <p>I know that I can view the log and DAG of a particular branch on this remote:</p>
  
  <pre><code>$ git log foo_remote/branch1
  $ gitk foo_remote/branch1
  </code></pre>
  
  <p>I want something that does this:</p>
  
  <pre><code>$ git log foo_remote/*
  $ gitk foo_remote/*
  </code></pre>