Sometimes, you don't want your personal email associated with a work project, or your work email associated with a personal project. You can leverage git identities to ensure this separation. Bonus: cryptographically sign your commits.
The keys have a User ID packet with a userId field that contains a name and email address, which is an identity. I prefer to keep my identities separate from one another. For me it's not necessarily about security, it's more so about compartmentalization.
Generate a new key and update the global git config with the new public key hash. Then add the new public key to Github/Gitlab to support verification of signed commits with new key.