Info git/github

Info git/github

University

5 Qs

quiz-placeholder

Similar activities

GitHub

GitHub

University

5 Qs

Quiz-O-Tech Round 2

Quiz-O-Tech Round 2

University

10 Qs

Diagnóstico

Diagnóstico

University

10 Qs

Git y GitHub

Git y GitHub

University

10 Qs

Q6 - Soft Eng 2

Q6 - Soft Eng 2

University

10 Qs

Chapter 6: System Architecture

Chapter 6: System Architecture

University

10 Qs

Examen II Parcial - Taller de Programación  -  Git y GitHub

Examen II Parcial - Taller de Programación - Git y GitHub

University

10 Qs

DIS08_2_Git

DIS08_2_Git

University

7 Qs

Info git/github

Info git/github

Assessment

Quiz

Computers

University

Hard

Created by

ADNAN KHAN

Used 1+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is Git, and how is it different from GitHub?

Git is a version control system, while GitHub is a cloud-based platform for hosting Git repositories.

GitHub is a version control system, and Git is a cloud platform for hosting projects.

Git and GitHub are both cloud-based platforms for storing code.

Git and GitHub are the same thing, used interchangeably.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you initialize a Git repository in a project?

git start

git init

git new

git create

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the git add and git commit commands?

git add saves the file to the repository, and git commit stages the file.

git add stages changes, and git commit records those changes to the repository.

git add deletes files, and git commit undoes changes.

git add creates a branch, and git commit switches branches.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you clone a repository from GitHub to your local machine?

git download <repository-url>

git pull <repository-url>

git fetch <repository-url>

git clone <repository-url>

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a Git branch, and how do you create a new branch?

A branch is a copy of the repository; git branch <branch-name>

A branch is a history of changes; git checkout <branch-name>

A branch is a parallel version of the repository; git branch <branch-name>

A branch is a collection of commits; git push <branch-name>