global and local and system configuration in git code example
Example: Macbook git user config global
$ git config --global user.name "John Doe"
$ git config --global user.email johndoe@example.com
$ git config --global user.name "John Doe"
$ git config --global user.email johndoe@example.com