Using git to deploy/update source code to production server

I've just tried the we-all-know-what-it-is tool, git, to deploy and update changes to production server:

1. On my development computer, commit all changes and push to the repository:

$ git add -A .
$ git commit -m "Before deploying"
$ git push origin master

2. On the production server:

$ git clone myaccount@my.repo.address

3. In the development machine, update code, commit, and push to repository:

$ git add -A .
$ git commit -m "Updates"
$ git push origin master

4. In production server, pull code from master:

$ git pull origin master

...and so on

It's quite interesting!