I'm new with Git, may be this question is duplicated but I can't even find an right answer for myself.
I have an dedicated server (for exam : xxx.199.209.177)
I have project on my local machine, so now I want to commit and push my change to my remote server.

These are some step I set up with it.
1) In remote server

```
cd /var/www/html/
$ mkdir test
$ cd test
$ mkdir .git
$ cd .git
$ git --bare init

```

And on my local machine

```
$ cd /srv/www/html/
$ git clone root@xxx.199.209.177:/var/www/html/test/.git
     warning: You appear to have cloned an empty repository.
$ cd test
// make some change here
$ git status
$ git add .
$ git commit -m "test"
$ git push origin master
Counting objects: 3, done.
Writing objects: 100% (3/3), 217 bytes, done.
Total 3 (delta 0), reused 0 (delta 0)
To root@xxx.199.209.177:/var/www/html/test/.git
 * [new branch]      master -> master]

```

But when I come back to remote host

```
$ cd test
$ ls -l
total 0

```

there's nothing here

I think I missing some important steps.

Thanks.