title: How to get zipped all changes from specified git branch
body: <p>I would like to get all changed files from git's specified branch in git file.</p>
  
  <p>So I'm changing branch to branch1 and then fire command:</p>
  
  <pre><code>git archive -o branch1.zip HEAD $(git diff --name-only HEAD^)
  </code></pre>
  
  <p>but this command zips only last commit from branch1.
  I would like to have all changes from all commits from branch1 in branch1.zip file.</p>