reordering deployment tasks
adding git revision checking to deploy