Hmmm.  Maybe would the reflog also deserve some love :stuck_out_tongue_winking_eye: 

More insight **[here](https://github.com/git/git/blob/master/git-filter-branch.sh#L384-L415)**