For some reason I didn't add my email properly under my github account. And looking at the commit history, for several commits, github shows the username of my local laptop instead of my github username as the author of commit.(As shown in the picture below)
Today I added my email under my github account and pushed a new commit. For the new commit, I now see my github username being the author of commit(as shown in the picture below). However, I'm still seeing my laptop username being the author for previous commits. Is there a way to attribute those previous commits also to my github username instead of my laptop username?