The version (branch) named main is reversed for the official published content, and is locked from any direct change. As such, you have to create your own version to save your updated content.
1.1. In the left menu, select the forth icon from the top#
1.2. Click on the down arrow next to the text “Commit to ‘main’” and select “Commit to a new branch”#
1.3. A new textbox would be opened at the top of the web IDE. Enter your version name. You can only use alphanumeric letters, underscore (_) and hyphen (-). It is adviced to use your name + date of update as version name, as shown in the screenshot.#
1.4. Press “Enter” to Confirm. All your changes should be saved to Gitlab under the new version name.#
1.5. If you want to continue to add more update, continue to edit in the web IDE and repeat step 1.4
to add more changes to your version.