Question Bank

3705 approved questions from the community

Git operations such as committing and branching are faster than older version control systems because they use local operations.

MEDIUM
TRUE FALSE
30s
Git
by Mohamed

Any alteration in content, directory structure, or commit details will trigger a change in the SHA-1 hash of related Git objects.

HARD
TRUE FALSE
35s
Git
by Mohamed

Git's immutable storage means that once an object file is written, it remains unchanged until the content it represents changes.

HARD
TRUE FALSE
35s
Git
by Mohamed

What storage optimization techniques does Git use?

HARD
SINGLE CHOICE
45s
Git
by Mohamed

What are the two primary parts of a Git repository?

MEDIUM
SINGLE CHOICE
35s
Git
by Mohamed

What does the `git add` command do?

EASY
SINGLE CHOICE
30s
Git
by Mohamed

What does the `git status` command show?

EASY
SINGLE CHOICE
30s
Git
by Mohamed

Branching in Git allows multiple developers to work on different features simultaneously without interfering with each other.

MEDIUM
TRUE FALSE
30s
Git
by Mohamed

Git requires a constant network connection to perform version control operations.

EASY
TRUE FALSE
25s
Git
by Mohamed

When you clone a repository, Git automatically establishes a remote connection named 'origin'.

MEDIUM
TRUE FALSE
30s
Git
by Mohamed

Git is cross-platform compatible and operates identically on Windows, macOS, and Linux.

MEDIUM
TRUE FALSE
25s
Git
by Mohamed

A Git repository stores all version-controlled files and their complete history.

EASY
TRUE FALSE
25s
Git
by Mohamed

What is the main difference between Git and GitHub?

MEDIUM
SINGLE CHOICE
35s
Git
by Mohamed

What is a commit in Git?

EASY
SINGLE CHOICE
30s
Git
by Mohamed

Git commits are atomic, meaning each change is distinct and exclusive from others.

MEDIUM
TRUE FALSE
30s
Git
by Mohamed

Git allows multiple developers to work on the same project simultaneously.

EASY
TRUE FALSE
20s
Git
by Mohamed

The staging area in Git is optional and changes can be committed directly from the working directory.

MEDIUM
TRUE FALSE
30s
Git
by Mohamed

The master branch is the default branch present in all Git repositories.

EASY
TRUE FALSE
25s
Git
by Mohamed

Git is a centralized version control system.

EASY
TRUE FALSE
20s
Git
by Mohamed

What are the main components of Git's storage model? (Select all that apply)

EASY
MULTIPLE CHOICE
40s
Git
by Mohamed
PreviousPage 83 of 186Next