How to list only newly added files between two branches May 5, 2023 by Tarik You can use --diff-filter option of git diff: git diff --color --name-only --diff-filter=A branch1 branch2