download a github 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 subfolder from github
svn checkout https://github.com/user/repo/branches/mybranch/folder
Example 3: download a github folder
curl {url for downloading zip file} | 7z a -tzip {project name}-{branch name}/{folder path in that branch}