The easiest way to show hidden files in macOS Sierra or higher is to use the following keyboard shortcut:
(Command + Shift + Dot)
This shortcut works as a toggle. Press once to show hidden files and again to hide them. Once you use the shortcut and you navigate to your home directory, you should be able to see the hidden files in there.
Another method if your operating system is older than macOS Sierra then is by using the terminal.
1) Open Terminal found in Finder > Applications > Utilities
2) In Terminal, paste the following:
defaults write com.apple.finder AppleShowAllFiles YES
3) Press Return
4) Hold the “Option/Alt” key, then right-click on the Finder icon in the dock and click Relaunch
5) Relaunch Finder by right-clicking the Finder icon whilst holding the “Option/Alt” key
This will show all hidden files. To hide them again, follow the same steps but replace the Terminal command with:
defaults write com.apple.finder AppleShowAllFiles NO