title: Removing unwanted files from git/github
body: <p>I earlier pushed many files to git, many of them where unwanted. I followed the following to remove those unwanted files (jar/lib/ide files etc).</p>
  
  <p><a href="https://help.github.com/articles/remove-sensitive-data/" rel="nofollow noreferrer">Remove Files - 1</a></p>
  
  <p><a href="https://stackoverflow.com/questions/2047465/how-can-i-delete-a-file-from-git-repo/28772827#28772827">Remove Files  - 2</a></p>
  
  <p>Basically I did, </p>
  
  <pre><code>git filter-branch -f --index-filter 'git rm --cached --ignore-unmatch target'
  </code></pre>
  
  <p>I verified in github those files don't exist anymore. When I download my repo as zip in github its less than 1MB, however when I do a git clone, its still 100MB. </p>
  
  <p>Upon further research I found after cloning, </p>
  
  <p><code>MyRepo/.git/objects/pack/pack-b6b2b82ecd58c551c3648b9ca97e4f8b29rrt3c2.pack</code> is <strong>99.8 MB</strong>. How can I get rid of this?</p>