Properly set permissions on first run, also set git host in gitlab.yml