Git · Middle · Question 28 of 75
What problem does git worktree solve?
- 1Showing the working tree as a graph of folders
- 2Splitting a big repository into smaller repositories
- ✓Correct answer: Checking out several branches in separate folders at once
Explanation
You can review a PR or fix a hotfix in another directory without stashing your current work. All worktrees share one repository and object store.