git archive --format=tar.gz -o /tmp/my-repo.tar.gz --prefix=my-repo/ master
More detailed version: https://til.simonwillison.net/git/git-archive
git archive --format=tar.gz -o /tmp/my-repo.tar.gz --prefix=my-repo/ master
More detailed version: https://til.simonwillison.net/git/git-archive
for subfolder not work please solve download github subfolder project
example
wget https://github.com/User/repo/archive/master/folder.tar.gz
not work return 404 error please solve or propose solution for work
download github subfolder project in tarball
thank you