I accidentally committed an unwanted file (filename.orig while resolving a merge) to my repository several commits ago, without me noticing it until now. I want
filename.orig
This is what git filter-branch was designed for.