# show your Git username
git config --list
#an other way
`/.gitconfig
Just use --local instead of --global. In fact, local is the default so you can just do
git config --local user.email personal@example.org
git config --local user.name "whatf hobbyist"
in one repo, and
git config --local user.email work@example.com
git config --local user.name "whatf at work"
in another