Folder versioning

Hi! I am looking for the folders versioning like the files have.

My goal is to recover the state of some folder to the previous one, so just to click on Details and see the versions of the folder. That means, that all the files and sub-folders in the folder may be reverted to the previous state.