This lesson is focused on one of the key features of Git: branches. Branches can be useful for testing new ideas, compartmentalizing projects, and allowing multiple developers to contribute to the same project simultaneously.
For example, you might decide that your web app needs GitHub authentication while another developer is building a profile page for your users. By using Git branches you will both be able to write new code without causing problems for one another.
Look through these now and then use them to test yourself after doing the assignment
- Be able to answer the question, "What is a branch?"
- Know how to create a new branch
- Know how to merge a branch
- Know how to delete a branch
- Have a cursory knowledge of Git workflows
In this section, you will learn the basics of branching in Git.
- Read the beginner-friendly Using Branches tutorial from Atlassian
- Watch GIT: Working with Branches from Codemy School
In this section, you will learn what it means to "merge" in Git.
- Read this section about merging from Atlassian
- Watch GIT: Merging and Workflow video from from Codemy School
In this section, you will learn about different Git Workflows and how branches are used in the real world.
- Read about different Git Workflows to understand the application of Git branches.
- Complete the Introduction Sequence on learngitbranching.js.org
This section contains helpful links to other content. It isn't required, so consider it supplemental for if you need to dive deeper into something
- Git Branches in a Nutshell from Pro Git by Scott Chacon and Ben Straub
- How to Use Git Branches by DigitalOcean
- Ry's Git Tutorial
- Branches - Git and GitHub for Poets from The Coding Train