GitCheatSheet.org logo
Home / How To

Show the currently configured user name

git config user.name

From the documentation: "Options --system, --global, --local, --worktree and --file <filename> can be used to tell the command to read from only that location".