adding git revision checking to deploy