Git state fix for salt 2015.8+
diff --git a/reclass/storage/data.sls b/reclass/storage/data.sls
index c804ecf..f85cccd 100644
--- a/reclass/storage/data.sls
+++ b/reclass/storage/data.sls
@@ -7,8 +7,13 @@
   git.latest:
   - name: {{ storage.data_source.address }}
   - target: {{ storage.base_dir }}
-  - rev: {{ storage.data_source.branch }}
   - reload_pillar: True
+  {%- if grains.saltversioninfo.0 >= 2015.8 %}
+  - rev: HEAD
+  - branch: {{ storage.data_source.branch }}
+  {%- else %}
+  - rev: {{ storage.data_source.branch }}
+  {%- endif %}
 
 {%- endif %}
 
@@ -21,4 +26,4 @@
 
 {%- endif %}
 
-{%- endif %}
\ No newline at end of file
+{%- endif %}