I should add: to make this work in that future smarter `git log` command, be sure to: 1. commit the un-removal first; then 2. commit the rename (you can just `git mv` the directory and commit) so that the future smarter `git log` has an easy way of finding this. Ideally, it would find this even without that, but having all the files / sub-trees have identical hash IDs will make this much faster and easier.