js download folder content git repo code example
Example 1: download subfolder from github
svn checkout https://github.com/user/repo/branches/mybranch/folder
Example 2: download a github folder
curl {url for downloading zip file} | 7z a -tzip {project name}-{branch name}/{folder path in that branch}