I often see people asking how to push their changes to the dev or live server. I agree with the common sentiment that you should probably use a proper deployment script, but I also think for most simple sites git is fairly sufficient.
To accomplish this I made a git hooks script that executes a pull from the appropriate web root depending on the branch.