title: How to remove/delete a large file from commit history in the Git repository?
body: <p>I accidentally dropped a DVD-rip into a website project, then carelessly <code>git commit -a -m ...</code>, and, zap, the repo was bloated by 2.2 gigs. Next time I made some edits, deleted the video file, and committed everything, but the compressed file is still there in the repository, in history.</p>
  <p>I know I can start branches from those commits and rebase one branch onto another. But what should I do to merge the 2 commits so that the big file doesn't show in the history and is cleaned in the garbage collection procedure?</p>