title: Start fresh with Git and make a repository's last commit the only commit
body: <p>I have a Git repository with dozens of commits.
  I want the last commit to be the only commit - meaning the repository would behave as if it was just initialized and the current file state is the only commit. </p>
  
  <p>Is there a better way to do it than creating a new repo?</p>