download github folder code example
Example 1: download directory from github
https://downgit.github.io/
Example 2: uploading a folder to github
git init
git add <folder1> <folder2> <etc.>
git commit -m "Your message about the commit"
git remote add origin https://github.com/yourUsername/yourRepository.git
git push -u origin master
git push origin master
Example 3: download subfolder from github
svn checkout https://github.com/user/repo/branches/mybranch/folder
Example 4: download a github folder
curl {url for downloading zip file} | 7z a -tzip {project name}-{branch name}/{folder path in that branch}