git archive --format zip --output /full/path/to/zipfile.zip master
for f in *; do zip "$f.7z" "$f"/*; done