MHN
Add a comment on Hacker News →
1 of 18 comments
  1. Same can be done using git and tar

        mkdir -p <out_dir> && git archive --remote=<remote> --format=tar.gz <branch> <files...> | tar -xzC <out_dir>
    
    Strangely, github does not support this, so tested with bitbucket.