Search Header Logo

Git basics

Authored by Mathieu Chauvin

Computers

University

Used 34+ times

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

Which of these terms best describes git?

Integrated development environment

Issue tracking system

Distributed Version control system

Web-based repository hosting service

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command allows me to view my repository's history?

git commits

git log

git commit --history

git history

3.

MULTIPLE CHOICE QUESTION

1 min • 3 pts

What is the "staging area"?

It is the current area of work, with the files of the project

It is the content of the .git/ directory, with the information collected by git

It is current position in the history log for the current branch

It is the set of files that will form part of the next commit

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can I add a file to the staging area?

git add file.txt

git commit file.txt

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the correct order to submit your changes from the working directory to the remote repository?

git add, git push, git commit

git add, git commit, git push

git push, git add, git commit

git commit, git add, git push

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Github and Gitlab are simply a "Git-as-a-service"

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

I interactively rebased "main" branch on my computer and changed commits order. Can I safely force push on the remote?

Yes

No

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?

Discover more resources for Computers