Git Config

The git config command sets Git configuration values at the global or local project level, stored in .gitconfig files.

The most basic use case for git config is to invoke it with a configuration name, which will display the set value at that name. Configuration names are dot delimited strings composed of a 'section' and a 'key' based on their hierarchy. For example: user.email

Setting Up Git

After installation, configure your Git identity:

git config --global user.name "Your Name"
git config --global user.email "your.email@example.com"

You can check your configuration with:

git config --list

Free Resources