Spaces in names
cd My Docs fails because the shell splits at the space. Quote it, cd 'My Docs', or escape it. The failure is the shell doing its job correctly, which is why the fix is quoting rather than a different command.
Hidden files
A leading dot hides a file from a plain ls. Configuration lives there, which is why 'the file is not there' is often true and also the reason you are looking in the wrong place. Use ls -a when a dot file is suspected.