Skip to content
masterclass Buddy

Git · Option

.gitconfig

git config reads and changes Git settings. Settings can apply to the system, one user, one repository, or one worktree.

Last updated

Syntax

git config [<options>] [<action>] [<name> [<value> [<value-pattern>]]]
 git config [<options>] [<action>] --list

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • git config set
  • git config get
  • git config list
  • core.editor
  • user.name
  • user.email
  • extensions.worktreeConfig

Source: Git - git-config Documentation. Checked 2026-11-03.