Restore old directory from a previous branch, commit, etc.
Context
Steps
- Locate the old branch, or commit message which you want to revive.
- Make note of the path
- Make not of the commit hash
git checkout 348ce0aa02d3738e55ac9085080028b548e3d8d3 -- path/to/the/folder/