- Backup your repo.
- Navigate to your repo to see a list of all commits.
- Make changes as required.
- Hit "Apply changes" to perform the rewrite.
Note: there are various "gotchas" related to rewriting history in Git. Make sure you understand what they are!