.git file is not found when cloning reprositry

I wanted to setup a local host which can automatically update code, but when i clone reprositry it dosent show the .git file pls help

Hi :wave:

The .git folder is hidden.

If you are on a Mac click shift + cmd + .