IntermediateGit Basics
Git & GitHub Interview Track
Branching, rebasing, undoing mistakes and collaborating through pull requests.
Your progress · 20 questions0%
20
Questions
0
Completed
0
To review
0
Favorites
Topics in recommended order
Learning path
Follow the stages top to bottom. Nothing is locked — the order is simply what works.
Git Basics
10 questionsIntermediateGit Basics
What's the difference between reset, revert and restore?
Not practiced yetPractice thisBeginnerGit Basics
What's the difference between git fetch and git pull?
Not practiced yetPractice thisBeginnerGit Basics
How does git stash help in daily work?
Not practiced yetPractice thisIntermediateGit Basics
You committed to the wrong branch — how do you fix it?
Not practiced yetPractice thisIntermediateGit Basics
When is it safe to force push, and how do you avoid destroying teammates' work?
Not practiced yetPractice thisBeginnerGit Basics
What is the difference between git fetch and git pull, and when should you use each?
Not practiced yetPractice this IntermediateGit Basics
How do you squash several messy commits into one before opening a pull request?
Not practiced yetPractice thisIntermediateGit Basics
A bug is in production but was not in last weeks release. How do you find the exact commit that introduced it?
Not practiced yetPractice thisBeginnerGit Basics
You added a .gitignore but Git is still tracking files that should be ignored. Why, and how do you fix it?
Not practiced yetPractice this Collaboration
10 questionsBeginnerCollaboration
What makes a good pull request?
Not practiced yetPractice thisBeginnerCollaboration
How do you resolve merge conflicts?
Not practiced yetPractice thisBeginnerCollaboration
What's the difference between clone, fork and branch?
Not practiced yetPractice thisAdvancedCollaboration
What is detached HEAD state and how does reflog save you?
Not practiced yetPractice thisBeginnerCollaboration
What are conventional commits and how do they connect to versioning?
Not practiced yetPractice thisIntermediateCollaboration
What are Git hooks and how do teams use them to enforce quality?
Not practiced yetPractice thisBeginnerCollaboration
What is the difference between a lightweight tag and an annotated tag, and which should you use for releases?
Not practiced yetPractice thisIntermediateCollaboration
Compare GitFlow, GitHub Flow and trunk-based development. When does each make sense?
Not practiced yetPractice thisIntermediateCollaboration
What are signed commits and why would a team require them?
Not practiced yetPractice thisIntermediateCollaboration