I recently switched to using Amazon Web Services for my hosting. It is awesome. Because it(EC2) is just a cloud computer, I can install anything I want and set up any workflow I desire. I recently found an article that was about a website git workflow.
I finally got the flow down, but it was taking a little too long to start a project. So I decided to make it into a script.This works with any cloud computer workflow. It doesn't have to be just Amazon.
With a little help from some people on google+ I finally got it down. Check out the original article on how itworks and the philosophy of why.