Start working on a new project
New local project:
```bash
$ cd your/project/directory
$ git init
```
Existing repository on GitLab/GitHub:
```
$ cd directory/to/put/the/project/in
$ git clone <your projects repository url>
```
prepare changes of a file for the next commit
`git add` selects which files and changes you add to your next commit:
```bash
$ git add myfile.txt
```
check what is "staged" for the next commit:
```bash
$ git status
On branch main
Changes to be committed:
(use "git restore --staged <file>..." to unstage)
modified: myfile.txt
```
## create a commit (i.e. snapshot)
```bash
$ git commit -m "added some lines to myfile.txt"
```
the commit message (`-m`): a place to write what you've changed
## push your changes to GitHub/GitLab
```bash
$ git push
```
Representation of these steps
But why is the image cut?