I am working on two projects. And I have set the Git configuration
git config --global user.name "xxx"
When I switch project I want to change the name for the project, setting up same configuration back again.
How can I set different names for the different projects in Git?