Hide files from root folder so public cant view with link

Hi,

How do I hide certain files from public view,

Essentially hide any files from public viewing that aren’t caught with a specific rule mentioned in the .htaccess security

I imagine / would like to be able to add something to the .htaccess file

A couple of examples I’m having trouble with are README.md from git and update.sh for auto updating Kirby itself.

Thanks