I created a ssh key pair and uploaded my public ssh key on github and everything was alright. Then out of curiosity I rewrote previous keys and made new ones with this command
$ ssh-keygen -t ed25519 <my email>
and without uploading The new public ssh key on github I somehow was still able to push stuff to my github repository. Does anyone know what's going on here?