Skip to content

Git workflow

Git is a version control system (software)

In a Git, clients do not just check out the latest snapshots of the files.
They entirely mirror the repository including history.
==It is a distributed VCS which is a big argument pro Git.==

git repos also can handle changes comming from multiple sources easily

The “truth” is in the ONE remote repository ==ORIGIN== wich is the central point, wich acts as a MASTER data storage.
after you create your commits, you push them into the remote repository, from where it gets distributed (via the regular fetches) into all the other computers to theirs local repositories.
at all times - even when moving anywhere - the singular truth is in the remote repository (origin).

=> the choice of ORIGIN is an important design choice

git workflow

![[Pasted image 20230819094853.png]]

staging area = index , delta ‘s on the files ? , is stored in the .git folder

![[Pasted image 20240529112619.png]]