So I read a lot about how to change previous commit\'s email address but for some reason mine is not updating.
I did like 40 commits to my private repo with my loca
You can indeed do his for many commits at once like this:
git rebase -i HEAD~40 -x "git commit --amend --author 'Author Name ' --no-edit"
I worked this out better in this answer.