This sounds like a somewhat uncommon use case to me, but wouldn't a simple git per-file checkout work here?
Something like:
git checkout c3f2ab -- configs/.vimrcSomething like:
git checkout c3f2ab -- configs/.vimrcNo comments yet.