Search Header Logo

2.0 - Git Basics

Authored by Kiki CodeSquad

Science, Computers

Professional Development

Used 10+ times

2.0 - Git Basics
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is Git

A version control system

Centralized

Distributed

The same as GitHub

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is GitHub?

A host for Git repositories

An integrated development environment (IDE)

The company that owns Git

All of the above

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Git stores the history of changes made to the codebase over time, and information about who made those changes.

True

False

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Staging, or git add, is required before creating a commit.

True

False

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What does the command git branch (without any options) do?

Creates a new branch

Renames a branch

Deletes a branch

Shows you a list of your local branches

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following commands will merge branch-a into the master branch?

git merge master and git checkout branch-a

git checkout branch-a and git merge master

git checkout master and git merge branch-a

git merge branch-a and git checkout master

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What are the characteristics of a good commit message?

Commit messages are optional

Less than 50 characters and written in the imperative mood

Describe the change introduced by the commit

Tell the story of how your project has evolved

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?