This course introduces the concept of branches in Git and shows practical uses for managing both local development and collaborative workflows.
What you'll learn
- How Git branches work
- Creating new branches
- Merging branches
- Pull Requests on GitHub
Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.
This course introduces the concept of branches in Git and shows practical uses for managing both local development and collaborative workflows.
Git branches are like alternate timelines for your code. They let you work on several different features or bug fixes at once, without the sets of changes interfering with each other.
Chevron 9 steps4:44
8:44
6 questions
4:05
5:05
5 questions
3:05
5:58
4 questions
You have two branches. Both have changes you need, but when you check one out the changes in the other are no longer available. How do you get access to both at once? You merge the branches!
Chevron 4 steps4:34
4:02
7:18
3 questions
Collaborating with other developers is one of the biggest reasons to use Git. And to do that, you need to be able to bring changes from their Git repositories into your repo. You also need to be able to share changes from your repo to their repos. You do that using remote branches.
Chevron 8 steps7:49
2 questions
3:09
3 questions
2:35
4:19
2:06
3 questions
Pushing and pulling directly to and from your collaborators' Git repos is a good skill to have. But most developers today work through a Git hosting service like GitHub, GitLab, or Bitbucket. Let's see how to apply what we've learned using a hosted repo.
Chevron 5 steps3:04
2:50
2:10
4:20
2 questions
Jay McGavren
Get personalized course recommendations, track subjects and courses with reminders, and more.