Branching | a little in depth:
anchored to [[191.00_anchor]]
Overview:
In the last meeting [Date:2023-10-26] for Se-tutoring Jiri explained the actual structure for Branching once again. For that matter and because its important to understand this principle to work reliably with Git, I will go over the topic. This will:
- refresh my understanding of branching
- give me new insights
- it can act as document that students can take a look at to understand some concepts better ( in case I publish it at some point haha)
Basics:
In Git we are running a snapshot based system. That means that internally Git is storing the original file that has been added to the Repository once and then only the differences between commits ( so any change made and committed to the repository ) will be saved.
We’ve learned before that each commit is identified with the usage of unique identifiers ( hashes) and they also have a link to their ancestor.