diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 20272ac5a1a967adf4f32aa65d6778176d3cf38b..003be8fe4ebd7fcf2a6992ac3407b94b5541dabe 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -18,9 +18,9 @@ build-template:
     - python --version # For debugging
     - cookiecutter --no-input --overwrite-if-exists --output-dir . .
     - cd my_awesome_app
-    - git init
     - git config user.email "ci-runner@example.com"
     - git config user.name "CI Runner"
+    - git init
     - source ./setup.sh
     - ls -lah
     - tox --version