When I finished preparing the code for another blog post, I had to add a LICENSE and a README file to the Git repository of my code. Adding those files to the very first commit and adding a copyright notice to all C# source files, required rewriting of Git history. In this blog post, I share the scripts I used myself.
I once did a big migration of an old Subversion (SVN) repository to a new Git repository, migrating all of the version history. This post is about how to do that.