For anyone looking to update their username and email address for all previously-made commits in a Git repo, take a look at this. It might be a better option for you than 'rewriting' your entire history.
https://blog.developer.atlassian.com/aliasing-authors-in-git/