What is a Git branch?
Imagine there are parallel worlds. We have:
1. A world where I have created this video, and you’re watching it.
2. A world where I have created this video, but you’re not watching it.
3. A world where I did not create this video.
In this parallel world concept, a Git branch is a parallel world.
You can have a branch that stays the same in one world. Then, you branch off into a different world. Once you finish your code, you can complete the initial world by merging the changes into it.
Here’s the video, podcast, and text version:
- Text / Podcast version: https://zellwk.com/blog/git-branch
- Video: https://youtu.be/yARRMa9zssw
Enjoy!
Stay awesome,
Zell