Here\'s my history for the folder \'somefolder\'
$ git log somefolder commit 89cd More changes to somefolder commit ef47a Updating somefolder and other stu
You can use git checkout to update your repository to a specific state.
git checkout e095 -- somefolder
As for your question about generating the diff, that would work too. Just generate the diff to go from your current state back to e095:
e095
git diff 89cd..e095 -- somefolder