Git has different levels of configuration that apply to different “scopes”:
- system (almost never needed; not covered here)
- global (which is “global for a user” scoped)
- local (which is specific to one local clone)
- worktree (which only applies to the current worktree; only relevant if you work with
worktree
s) - file (not covered here but you can set a git configuration option, when relevant at the file level, to one file)