#DELETE BRANCHES MERGED INTO CURRENT BRANCH
git branch --merged | egrep -v "(^\*|master|dev|develop)" | xargs git branch -d
How to list only the file names that changed between two commits?
git diff --name-only SHA1 SHA2
where you only need to include enough of the SHA to identify the commits. You can also do, for example
git diff --name-only HEAD~10 HEAD~5