User shown as `whoami`@localhost

I have bunch of commits that are labelled as whoami@localhost as the user:

image

This was actually my user and I’d like to know if there is any way to have these commits re-labelled as the correct user.

Anyone seen this before? I assume it’s something to do with the git credentials I was using to upload this other stuff as it was on a different machine.