I created a folder called test.git on VDS server and make it git repo by running the command git init --bare. I pushed a project from my computer to the test.git repo on the server. And everything is done successfully. But When I see the test.git repo on the server there is nothing. And then I created a empty folder in my computer and cloned the test.git repo on the server and the project get back.
In short there is the project in the test.git repo on the server but the project is invisible. Why?