2025-07-07
Theme: Git Branching & Collaboration
This week, you’ll:
Understand how teams collaborate using Git
Use branches to safely make changes
Learn how to merge code and resolve conflicts
Image: Allison Horst
Git branches let you:
Experiment safely without breaking the main code
Collaborate efficiently by working in parallel with your teammates
Organise your project into logical feature units
Example Workflow:
Common branch commands:
To work with others, you’ll:
Clone a repo
Make changes in a new branch
Push your branch to GitHub
Open a pull request
Pull Requests = Propose changes + get feedback + merge cleanly
Key habits for collaboration:
Pull the latest changes often:
git pull origin main
Communicate: use comments, issues
Keep commits small and meaningful
Don’t fear conflicts — learn to resolve them
Good Git habits = less stress for your team