title: How to grep files on another git branch?
body: <p>I'm on <code>develop</code> branch, and I need grep some keyword from files of another branch. Is there any easy way to do it?</p>
  
  <p>I do follow:</p>
  
  <pre><code>git stash
  git checkout branchXX
  grep something -R src/
  git checkout develop
  git stash pop
  </code></pre>
  
  <p>Is there something like</p>
  
  <pre><code>git grep something -R src --branch branchXXX
  </code></pre>