Existe exatamente a mesma pergunta no SO .
You can use
git diff-treeto achieve what you wantuse
-rto recursively descend through subtree and--diff-filterto restrict output to only certain types of diffs (for instance, deletions=D)
git diff-tree -r --diff-filter=D branchA branchB