Tar extract doesn't work on Zip repos with submodules:
curl -L https://github.com/org/repo-with-submodules/archive/refs/heads/main.zip -o ~/Downloads/repo-main.zip
tar -xvf ~/Downloads/repo-main.zip -C ~/Downloads
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 9 100 9 0 0 27 0 --:--:-- --:--:-- --:--:-- 27
tar: Error opening archive: Unrecognized archive format
Tar should be installed in Mac and Debian by default.
How to achieve without using Zip, Unzip?
java
installed?