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