git diff -z --name-only HEAD^ HEAD | xargs -0 -IREPLACE rsync -azP REPLACE root@www.example.com:/var/www/html/
oneliner, no need to explain, right?
git diff -z --name-only HEAD^ HEAD | xargs -0 -IREPLACE rsync -azP REPLACE root@www.example.com:/var/www/html/