title: How to zip and ignore all files specified by .gitignore
body: <p>I have a few dozen git repositories under one directory, all of them contain not only source code but also build artifact, developer artifact, blobs and other data normally ignored by .gitignore</p>
  <p>I would like to quickly transfer these source code to another computer. Is there an easy way to package everything that is not ignored by git?</p>
  <p>To add more context:</p>
  <p>I have 50-ish git folders or so, each on different branches with some current changes</p>
  <p>I would like to copy all files that are tracked by git, at the current state ( current branch plus current local change )</p>
  <p>If by cloning them all, it means to go to each folder, commit the current changes locally, remember the branch name, git clone local branch to another folder, do that 50 times then I am strongly agaist it</p>