title: How to remove file from Git history?
body: <p>Some time ago I added info(files) that must be private. Removing from the project is not problem, but I also need to remove it from <code>git</code> history.</p>
  <p>I use Git and Github (private account).</p>
  <p>Note: On <a href="https://stackoverflow.com/questions/307828/completely-remove-file-from-all-git-repository-commit-history">this thread</a>  something similar is shown, but here is an old file that was added to a feature branch, that branch merged to a development branch and finally merged to master, since this, a lot of changes was done. So it's not the same and what is needed is to change the history, and hide that files for privacy.</p>