Let's see if we can do the git deploy using Grunt. This will probably fail. Just trying to switch between branches for now - which will clear working directories, including the Gruntfile & node_modules.
I think this is a complete deploy task. We shall see soon.
This approach to deploy is fundamentally flawed. It won't work because it can't result in files being deleted. Will fix by cloning the branch in a subdir, applying all changes, committing, and deleting. So I never have any dirty stuff from this branch - which means I can safely delete all.
Using grunt build control. I think this will work a lot better for deploy.