I\'ve been wondering whether there is a good \"git export\" solution that creates a copy of a tree without the .git repository directory. There are at least thr
.git
a git export to a zip archive while adding a prefix (e.g. directory name):
git archive master --prefix=directoryWithinZip/ --format=zip -o out.zip