There are a few ways to setup a local copy of your Shopify theme:
Node.js ( gulp/grunt )
Ruby
Theme App ( Mac only )
There might be a few other ways, but I found the ruby way the most easy to work with.
In order to work locally on the Shopify theme files you will need a few things:
Ruby ...