Summary
In this chapter, you learned about the different types of branching workflows available, including GitFlow, GitHub Flow, and GitLab Flow, and how each one works. Along with the workflows, you learned the industry-standard branch names, such as main/trunk/master, develop, features, release, and hotfix branches, and how they work in each workflow. You also learned the proper way to work with source control, such as always getting the latest code, when to rebase your code versus merging, allowing your branches to have a short lifespan, compiling and testing your code before committing, never checking in assemblies, and the proper use of tagging.
In the next chapter, we’ll take the source code in our repository and create an automated build to create artifacts. We’ll also cover how to automatically deploy it to a server.