I set this up differently: my user gitconfig has my personal email. In my work monorepo, I have a local gitconfig where I set/override the email and GPG settings.
Still, this is a neat thing too.
Still, this is a neat thing too.
My source lives in a directory called ~/src, bunch of different repos. My work source repos live in ~/src/company so this way, I point the global git config there when in a repo under that directory.