How to list only file names that have changed between two branches
<p>I have two branches in my repository which I want to diff for some files.</p>

<p>I want to list only newly added migrations between those two branches.</p>

<p>Something like:</p>

<pre><code>git diff branch1 branch2 | grep /db/migrate
</code></pre>

<p>How can I do it?</p>