Git and GitHub

Git and GitHub

University

10 Qs

quiz-placeholder

Similar activities

GIT COURSE

GIT COURSE

University

13 Qs

Quiz Mid Semester Data Manajemen

Quiz Mid Semester Data Manajemen

University

10 Qs

DevOps

DevOps

University

10 Qs

Q5 - ICT2

Q5 - ICT2

University

10 Qs

MT_Chapter 5 & 6 (set 2)

MT_Chapter 5 & 6 (set 2)

University

10 Qs

ความรู้เบื้องต้นเกี่ยวกับ Flash

ความรู้เบื้องต้นเกี่ยวกับ Flash

12th Grade - University

10 Qs

ITF Chapter 1 Computing Devices

ITF Chapter 1 Computing Devices

University

14 Qs

LATIHAN SOAL PEMROGRAMAN

LATIHAN SOAL PEMROGRAMAN

9th Grade - University

15 Qs

Git and GitHub

Git and GitHub

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Paridhi Gupta

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

  1. 1. What does git clone do?

Creates a new repository

Copies an existing repository to your local machine

Initializes a new branch

Pushes changes to the remote repository

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

  1. 2. Which command is used to initialize a new Git repository?

git clone

git init

git commit

git add

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

  1. 3. What does the git status command do?

Shows the current branch

Displays the difference between staged and unstaged changes

Lists the files that have been modified

All of the above

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

  1. 4. Which of the following is a popular web-based hosting service for Git repositories?

GitLab

GitHub

Bitbucket

All of the above

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

5. Which file is commonly used to ignore specific files or directories in Git?

.ignore

.config

.gitignore

.exclude

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

6. What does the git commit -m "message" command do?

Stages all files and commits them

Commits all staged changes with a message

Stages and commits all changes

Removes files from the repository with a message

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

7. How do you create a new branch in Git?

git branch [branch-name]

git new-branch [branch-name]

git create-branch [branch-name]

git branch-create [branch-name]

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