Author here!
I'm a freelancer working for multiple agencies at the moment. And One of the requirements was that I use the agency email for all commits.
So I made this as a sugar for git config user.email whatever@gmail.com
So I made this as a sugar for git config user.email whatever@gmail.com
Is a lot easier then what you came up with.