diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e8347010ee7ea4b694e33fd08f40f3f6ff937ede..408c56d36930b08aed2118ed0148904cfd140cab 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -59,9 +59,9 @@ publish-dev:
     - "./gradlew setDevVersionForCI"
     - "./gradlew publish"
   except:
-    - master
+    - main
 
-publish-master:
+publish-main:
   image: openjdk:11
   stage: publish
   needs:
@@ -69,7 +69,7 @@ publish-master:
   script:
     - "./gradlew publish"
   only:
-    - master
+    - main
 
 ragdoc_build:
   image:
@@ -132,7 +132,7 @@ pages-dry-run:
   extends: .pages-template
   except:
     - dev
-    - master
+    - main
 
 pages:
   extends: .pages-template
@@ -141,7 +141,7 @@ pages:
       - public/
     expire_in: 1 week
   only:
-    - master
+    - main
 
 pages-dev:
   extends: .pages-template
diff --git a/pages/docs/using.md b/pages/docs/using.md
index cc159984d25dc975f4688ebd4e1efe995f5075b3..9930e0e02cff757a217d1719746b53f969f584d0 100644
--- a/pages/docs/using.md
+++ b/pages/docs/using.md
@@ -4,7 +4,7 @@ The full example is available at <https://git-st.inf.tu-dresden.de/jastadd/ragco
 
 ## Preparation and Specification
 
-The following examples are inspired by real [test cases](https://git-st.inf.tu-dresden.de/jastadd/ragconnect/-/tree/master/ragconnect.tests/src/test/01-input) read1write2 and tokenValueSend.
+The following examples are inspired by real [test cases](https://git-st.inf.tu-dresden.de/jastadd/ragconnect/-/tree/main/ragconnect.tests/src/test/01-input) read1write2 and tokenValueSend.
 The idea is to have two non-terminals, where input information is received on one of them, and - after transformation - is sent out by both.
 
 Let's use the following grammar: