Instructions and covered skills
Read each question carefully and select the best answer from the options provided. Avoid guessing; think about the Git commands and their effects. Ensure you have a distraction-free environment and take your time. Focus on the core concepts of branching and merging without external references.
Key Areas
- Creating and switching branches
- Merging strategies (fast-forward, three-way, squash)
- Resolving merge conflicts
- Deleting and renaming branches
- Understanding remote branches and tracking
- Using git merge and git rebase
- Handling divergent branch histories
Recommended Preparation
Familiarity with basic Git commands (init, add, commit) and the concept of a commit history. Practice creating branches, making commits on separate branches, and merging them. Understand the difference between merging and rebasing. Study conflict resolution by simulating merge conflicts in a test repository. Review Git documentation on branch management and merge options.