diff --git a/fabfile.py b/fabfile.py
index <HASH>..<HASH> 100644
--- a/fabfile.py
+++ b/fabfile.py
@@ -69,6 +69,8 @@ def get_configuration(name):
 
     if 'supportsZippedBackups' not in host_config:
       host_config['supportsZippedBackups'] = True
+    if 'gitRootFolder' not in host_config:
+      host_config['gitRootFolder'] = host_config['rootFolder']
 
     return host_config
 
@@ -153,7 +155,7 @@ def check_source_config(config_name = False):
 
 
 def get_version():
-  with cd(env.config['rootFolder']):
+  with cd(env.config['gitRootFolder']):
     with hide('output'):
       output = run('git describe --always')
 
@@ -281,7 +283,7 @@ def deploy():
 
   run_custom(env.config, 'deployPrepare')
 
-  with cd(env.config['rootFolder']):
+  with cd(env.config['gitRootFolder']):
     run('git fetch --tags')
     run('git pull origin '+branch)
     if not env.config['ignoreSubmodules']:
support for separate gitRootFolder (if not set, the rootFolder is assumed as git-root