Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at 78e8a9e co previous branch $ git pull origin $CI_COMMIT_REF_NAME fatal: couldn't find remote ref mirror-fork Cleaning up file based variables ERROR: Job failed: exit code 1