git only download one folder code example
Example 1: download directory from github
# use the web app below; simply copy and paste the github directory url
https://downgit.github.io/#/home
Example 2: download a github folder
curl {url for downloading zip file} | 7z a -tzip {project name}-{branch name}/{folder path in that branch}