wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Git Essentials Quiz

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What is Git?

a)

Programming Language

b)

Operating System

c)

Version Control System

d)

Integrated Development Environment

2.

Name two advantages of using Git for version control.

a)

Collaboration and tracking changes

b)

Spell-checking and code completion

c)

Database management and query optimization

d)

Graphic design and image editing

3.

What is a commit in Git?

a)

A synchronized copy of a repository

b)

A snapshot of the repository at a specific point in time

c)

A type of Git command

d)

A programming language feature

4.

What is the recommended practice for writing a commit message in Git?

a)

Use a single word to describe the changes

b)

Write a summarized subject and detailed description of the changes made

c)

Skip writing commit messages as they are not important

d)

Use emojis to convey the message

5.

Which of the following is a long-lived branch

a)

features branch

b)

main/master branch

c)

fix branch

d)

hotfix branch

6.

What are merge conflicts in Git?

a)

Conflicts between different branches during merging

b)

Conflicts between different Git repositories

c)

Conflicts between Git commands

d)

Conflicts between users collaborating on a Git project

7.

Which command is used to view the commit history in Git?

a)

git history

b)

git show

c)

git log

d)

git status

8.

The branch we create for a quick fix that need urgently in production?

a)

develop branch

b)

fix branch

c)

hotfix branch

d)

feature branc

9.

What is a pull request in Git?

a)

A request to retrieve the latest changes from the remote repository

b)

A request to delete a branch from the repository

c)

A request to create a new repository

d)

A request to merge changes from one branch to another

10.

What is the recommended workflow for handling a pull request in Git?

a)

Automatically merge the pull request without review

b)

Review the pull request, address any feedback or issues, and then merge the changes

c)

Close the pull request without merging the changes

d)

Merge the pull request immediately, without review or consideration