@nadiajoyce Well this question is different mine is different, I want to download a specific folder locally not on a remote Git repo I think you misunderstood my question please check it once again.I totally understand that in order to maintain forum organized you have close my question but I request you to open again since my question is different from above question.
If you look at the solution, it directly answers your question. The new topic you opened isn't necessary and it is correct that people should be directed here.
You can try github-files-fetcher, it is a command line tool which downloads a single folder or file from a GitHub repo.
Think a real scenario: you were visiting the following webpage page and wanna download the `async` subdirectory alone.
With The `github-files-fetcher`, you should first copy the `url` of that page, which is https://github.com/reduxjs/redux/tree/master/examples/async, and then run the command below in command line:
For GitHub repos, you can clone any sub-directories of any GitHub repository (at any reference) using https://github.com/HR/github-clone