7. 'Hello World' on main¶
In this chapter, we are going to use the basic git workflow
by writing a simple program with a team.
![]() |
A fairytale is a story in which anything can happen |
|---|---|
7.1 Exercise 1¶
On Codeberg, create a new repository.
![]() |
Easy peasy! |
|---|---|
7.2 Adding Collaborators¶
![]() |
A Collaborator is someone in your team |
|---|---|
To add Collaborators, in your repo, click on 'Settings' (at the top right), then click on the 'Collaborators' tab.
Add one or more Collaborators. Collaborators are people you work together with. They too can now modify the code.
7.3 Exercise 2¶
Add at least 1 Collaborator.
![]() |
Add me, I am the best! |
|---|---|
7.4 Clone the repo¶
![]() |
You already know this |
|---|---|
Clone the repository on your computer:
For example,
7.5 Exercise 3¶
Clone your repo
7.6 Processing¶
Start Processing.
Below is a short Processing program:
You can run it by clicking on 'Run'.
7.7 Exercise 4¶
- Save the Processing program above in the folder of your repository
- Upload it
7.8 Modifying code¶
Navigate into the folder of your repository:
For example,
Here, as usual, you can do add, commit, push and pull:
With Processing, you can edit the code.
7.9 Exercise 3¶
Make something pretty together!
Each team member must
- add one line of code at a time
add,commitandpushit- at least 5 commits per team member
Below is some example code:

