Use --diff-filter option for git diff