# Worktree
git config --worktree user.email
# Local (current repository)
git config --local user.email
# Global
git config --global user.email
# System
git config --system user.email
The precedence is: worktree, local, global, system.