Tagging Releases & Workflow Patterns — Concept Check
Questions on Tagging Releases & Workflow Patterns. Tags are permanent named pointers to specific commits — ideal for releases. Understanding Git workflows (GitHub Flow, Git Flow, trunk-based) helps teams decide how to structure branches and releases.
Questions in this quiz
8 questions on Tagging Releases & Workflow Patterns — Concept Check. Work through them here, then start the quiz to answer them and see your score.
1.A team is preparing for a major release and wants to ensure the release tag includes metadata about the tagger and date. Which command should they use?
- Agit tag v1.0
- Bgit tag -m 'Release 1.0'
- Cgit tag -a v1.0 -m 'Release 1.0'
- Dgit tag --lightweight v1.0
2.In a GitHub Flow workflow, what is the next step after a feature branch is reviewed?
- ACreate a release branch
- BTag the feature branch for release
- CMerge into the develop branch
- DMerge into the main branch and deploy
3.A developer wants to push all tags to the remote repository. Which command should they use?
- Agit push origin --tags
- Bgit push origin -a
- Cgit push origin --all
- Dgit push origin --annotated
4.A project uses Git Flow. What is the purpose of the develop branch?
- AStoring lightweight tags
- BIntegration of features before production release
- CManaging hotfixes
- DDirect deployment to production
5.A team using trunk-based development wants to manage feature visibility. What should they use?
- AFeature flags
- BRelease branches
- CAnnotated tags
- DHotfix branches
6.Why are annotated tags recommended for releases instead of lightweight tags?
- AThey are easier to create
- BThey require fewer resources
- CThey store metadata like tagger name and date
- DThey automatically push to remote
7.A developer mistakenly believes that tags move like branches. What is the correct behavior of tags?
- ATags are permanent pointers to specific commits
- BTags automatically update to the latest commit
- CTags are deleted after merging
- DTags can be moved with 'git checkout'
8.In Git Flow, which branch is used for urgent fixes to production?
- ARelease branch
- BHotfix branch
- CFeature branch
- DDevelop branch