I'm working on a side project with a friend. We currently develop code on a domain/server package purchased on hostmonster. During development I stumbled upon Digital Ocean and decided to give it a try. I created an Ubuntu Server droplet, pulled down a build from git, and the rest was history. I had the test site up and running in minutes! I was sold from that point on -- I want to use Digital Ocean for all my web hosting needs. Creating a test site for our project was easy. I'm not really sure, however, what the best approach would be to creating a droplet to serve as a development server.
What is the best way to use a droplet as a development server? Should we develop code on our local machines, push the code to git, and then pull the development code down from git onto the development droplet?