We can get list of changed files between 2 branches/commits by
$ tar --ignore-failed-read -vczf archive.tgz $(git diff --name-only --diff-filter=ACMRT master develop)
Let's see important part:
git diff master develop
:
Get differences between master and develop branches.