In this chapter we’ll move on to a more advanced but far more realistic collaborative workflow where contributions are made by team mates that are all collaborators on the same repository.
We’ll be:
main
branch (similar to forks but internal to the repository).main
branchBranching is a core concept in Git. There’s only one rule: anything in the main
branch is always deployable (i.e. it works!).
it’s extremely important that your new branch is created off of main when working on a feature or a fix. Your branch name should be descriptive, so that others can see what is being worked on.