If you prefer not to use git, another technique is to simply download the entire repository in the form of a ZIP file. You can then extract its contents wherever is appropriate on your computer. To use this approach, proceed as follows:
- From a browser, open this URL:
https://github.com/PacktPublishing/Learn-MongoDB-4.x. - Locate the green button that says Code.
- Click on the down arrow, and select the Download ZIPÂ option.
- Use the tools associated with your operating system to open the downloaded ZIP file, and extract it into the subdirectory of your creation.
Now, let's have a look at the directory structure of the sample data.