diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 105925725dffd1ddb88316b4b108dc801182fa7c..1592b65a8d14bc25ce280da6c923a668969bd964 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,7 +3,7 @@ image: ubuntu:latest
 
 
 before_script:
-  - apt-get update -qq && apt-get install -y -qq build-essential libhdf5-serial-dev gfortran csh
+  - apt-get update -qq && apt-get install -y -qq build-essential libhdf5-serial-dev gfortran csh git
   - export LHOME=`pwd`
 # Compile grackle
   - mkdir grackle