Unzip the three ZIP files into three different directories.
Initialize the git repository in the fourth directory.
Then use the --work-tree option, which allows you to execute the git command from the git repo, but with content outside the specified git repo:
cd /your/git/repo git add --work-tree=/path/to/zip1 -A . git commit -m "Add v1" git add --work-tree=/path/to/zip2 -A . git commit -m "Add v1" git add --work-tree=/path/to/zip3 -A . git commit -m "Add v3"
In other words, you can add other content without moving from the git directory!
source share