Git Practice Test
✕
📝 Git Practice Tests
Advanced Features
Branching and Merging
Configuration and Setup
History and Log
Remote Operations
Staging and Commits
Undoing Changes
Git General
📖 Git Study Guides
GitHub Foundations Certification (GH-900) #1
GitHub Foundations Certification (GH-900) — Practice Test 2 #2
GitHub Foundations Certification (GH-900)
🎥 Git Videos
Git Flashcards
Study Guide
Git Study Guide
Cheat Sheet
Git Cheat Sheet
Articles
Git Practice Test PDF (Free Printable 2026)
Git Software
☰
Git Practice Test
▶
Git Git Branching and Merging 2
Free · Instant Results
What is the purpose of `git merge --squash`?
A
Combines all commits from a branch into one staged change without committing
B
Deletes all commits on the branch
C
Forces a fast-forward merge
D
Merges only the last commit
▶ Start Practice Test