git config

Read/set configuration

medium risk

interactive breakdown — edit the command and press Explain
$ 
⚠ Risks & cautions
What it does

Manages git settings. See the flags and examples below, and run `man git` for the full reference.

Common flags
FlagMeaning
--global --globalUser-wide
--list --listShow all
--unset --unsetRemove a key
Examples
git config --global user.email "[email protected]"Set email · explain & risk-check →
Related
git commit
Open the full explainer →More in Git

Reference text is hand-written and may be incomplete — check man git for your version. Test destructive commands on a non-production system first.