Pushing repo to droplet Droplet console From root: $ git clone git@github:USER/REPO.git --bare Local console $ cd REPO/.get $ cd hooks $ cat > post-receive $ git remote add production root@DROPLET-IP-ADDRESS:REPO/.git