Git Branching Guide¶
Why use branches?¶
Branches isolate work so that features and fixes can be developed without directly changing the main branch.
Recommended workflow¶
- Start from an updated main branch.
- Create a branch for your task.
- Make focused changes.
- Commit your changes.
- Push the branch to GitHub.
- Review and merge the changes.