diff --git a/start.sh b/start.sh
index 63a2a1aea4c77292363961287de37d513274b031..c1332ba8f45095e1117a991aacfefcd468b8cf7e 100755
--- a/start.sh
+++ b/start.sh
@@ -243,6 +243,9 @@ restoreEnvFile
 
 # Configure Git Hook
 if [[ -d .git ]]; then
+  if [[ ! -d .git/hooks ]]; then
+    mkdir -p .git/hooks
+  fi
   if [[ ! -f .git/hooks/post-checkout ]]; then
     echo "#!/bin/sh" > .git/hooks/post-checkout
     chmod +x .git/hooks/post-checkout