Git Version Control Mastery

Master Git commands, branching strategies, merging, and collaboration workflows

10 questions · beginner · 8 minutes

Study first: Git Version Control Mastery

What this assessment covers

  1. How do you initialize a new Git repository?
  2. Which command stages files for commit?
  3. How do you save staged changes?
  4. How do you create and switch to a new branch?
  5. Which command combines changes from different branches?
  6. How do you upload local commits to remote repository?
  7. Which command fetches and merges remote changes?
  8. How do you view commit history?
  9. How do you discard uncommitted local changes?
  10. Which command creates a local copy of a remote repository?

All assessments