Commit disappeared after registering my email adress

with my new labtop, i connect my new laptop with my github. but the commits with my new lab didnt appear. To fix this problem, i registered my email address. after this procedure, my new commits from new labtop alternated my past commits .
what makes this happen? and is there any solution to get my past commits …

It’s a bit unclear what exactly is happening. Are commits you make on the new laptop not correctly detected as yours? In that case you probably need to set the author email address on your laptop. If that was the problem, changing past commits requires rewriting history.