In modern macOS versions, pressing Cmd Shift . in an open Finder window reveals hidden files and directories ("dotfiles").