Configuration
user.email
Default email metadata for commits, subject to more specific settings and environment overrides. Shared history can expose email; use an appropriate identity, never a secret.
Formal Syntax & Structure
git syntaxgit
git config --local user.email addressWorking Example
Example Snippetgit
git config --local user.email learner@example.invalid