The files or folders starting with a dot are usually Linux system files. For Security precautions it is recommended to disable all direct web access to them.
To do this, you can add the following lines inside the .htaccess file in the public_html folder:
RewriteRule (^.|/.) – [F]
After adding these rules, anyone who tries to access dot files or folders will receive a 403 Forbidden error.