how to set config for git local code example
Example 1: Macbook git user config global
$ git config --global user.name "John Doe"
$ git config --global user.email [email protected]
Example 2: list config git
git config --list
$ git config --global user.name "John Doe"
$ git config --global user.email [email protected]
git config --list