How to list all changed files in a particular branch?
<p>I have created one branch xyz from master. I have done approximately 1000 commits and probably modified 20 files in xyz branch. Now I want to list all the files which I have modified in xyz branch. </p>

<p>Following command lists files modified in both branches. </p>

<pre><code>git diff --name-only master...xyz
</code></pre>