git is already the newest version (1:2.11.0-3+deb9u4). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. $ mkdir repo && cd ./repo $ git clone -b $CI_COMMIT_REF_NAME https://gitlab-runner:[email protected]/$CI_PROJECT_PATH.git && git init &> /dev/null Cloning into 'matomo'... fatal: Remote branch v1.0.0 not found in upstream origin $ cd ./$CI_PROJECT_NAME /bin/bash: line 84: cd: ./matomo: No such file or directory ERROR: Job failed: exit code 1