Rewrite git commits with your new user name and email
Case: You are author/committer of all commits of your local git repo
In case you want to use a different name and/or e-mail before making your git repo public or just uploading it to GitHub/GitLab, double-check the following steps with a competent AI chatbot of your choice before proceeding:
Warning
git-filter-repo is destructive and will modify your history permanently. First make a backup clone of your git repo before you start.