Git Notes
This capstone project simulates a full team development workflow from start to finish. You will practice every aspect of professional Git and GitHub usage —...
This capstone project simulates a full team development workflow from start to finish. You will practice every aspect of professional Git and GitHub usage — repository governance, branching strategies, automated pipelines, release management, and incident response. This is designed to be the project you reference in interviews when asked about your collaboration experience.
Project Scenario
Your team of 4-5 developers is building an e-commerce product page. You have a product manager (one team member wears this hat) who creates issues, and the rest of the team develops features through a proper Gitflow-inspired workflow.
Phase 1: Repository Governance Setup
Create the repository with all governance files:
gh repo create team-ecommerce --public --clone
cd team-ecommerceEssential files to create:
Set up CODEOWNERS:
Phase 2: Branch Structure
Set up the Gitflow branching model:
git checkout -b develop
git push origin develop
# Configure develop as the default PR target
# Settings → General → Default branch → developBranch hierarchy:
Phase 3: Issue Planning
The product manager creates issues with proper structure:
Create a milestone: "Sprint 1 - MVP" and assign all Phase 3 issues.
Phase 4: Parallel Development
Each developer works on their assigned feature:
# Developer A
git checkout develop
git pull origin develop
git checkout -b feature/1-product-gallery
# Develop, commit regularly, push daily
# Developer B (simultaneously)
git checkout develop
git pull origin develop
git checkout -b feature/2-shopping-cart
# Develop, commit regularly, push dailyDaily sync routine:
# Every morning, update your branch with latest develop
git fetch origin
git rebase origin/develop
# Resolve any conflicts early while they are smallPhase 5: Code Review and Integration
When a feature is ready:
git push origin feature/1-product-gallery
gh pr create --base develop --title "feat: Add product image gallery" \
--body "Closes #1\n\n## Changes\n- Image grid component\n- Lightbox viewer\n- Mobile responsive layout"Review checklist:
- Code quality and readability
- Test coverage for new functionality
- No console.logs or debug code
- Responsive design verified
- Accessibility basics (alt text, keyboard navigation)
Phase 6: Release Process
When develop has enough features for a release:
# Create release branch
git checkout develop
git checkout -b release/v1.0.0
# Bump version, update changelog
echo "1.0.0" > VERSION
# Update CHANGELOG.md with all changes
git commit -am "chore: prepare v1.0.0 release"
git push origin release/v1.0.0
# After final testing, merge to main
gh pr create --base main --title "Release v1.0.0"
# Get approval, merge
# Tag the release
git checkout main
git pull
git tag -a v1.0.0 -m "First production release"
git push origin v1.0.0
# Merge release back to develop
git checkout develop
git merge main
git push origin developPhase 7: Hotfix Simulation
Simulate a production bug:
# Create hotfix from main
git checkout main
git checkout -b hotfix/critical-cart-bug
# Fix the bug
git commit -am "fix: resolve cart total calculation error"
# Merge to main immediately
gh pr create --base main --title "hotfix: Fix cart total calculation"
# Emergency review, merge
# Tag patch release
git checkout main
git pull
git tag -a v1.0.1 -m "Hotfix: cart calculation"
git push origin v1.0.1
# Merge fix back to develop
git checkout develop
git merge main
git push origin developPhase 8: Retrospective
After the project, review as a team:
- How many merge conflicts occurred? Could they have been prevented?
- Was the review process smooth? Any bottlenecks?
- Did CI catch real issues?
- What would you change about the workflow?
Key Takeaways
This project gives you end-to-end experience with professional Git workflows. You practice governance setup, Gitflow branching, parallel development, code review, release management, and incident response. These are exactly the workflows used at production companies, and completing this project gives you concrete examples to discuss in interviews about your collaboration experience.
Exam Focus
Revise definitions, diagrams, examples, and short-answer points for Complete Team Workflow Project.
Interview Use
Prepare one clear explanation, one practical example, and one common mistake for this Git & GitHub topic.
Search Terms
git-github, git & github, git, github, projects, complete, team, workflow
Related Git & GitHub Topics