Info git/github

Info git/github

University

5 Qs

quiz-placeholder

Similar activities

C++ : Assignment 6

C++ : Assignment 6

University

10 Qs

Lec 4b - Decisions

Lec 4b - Decisions

11th Grade - University

10 Qs

Aplikasi Komputer Pengolah Angka

Aplikasi Komputer Pengolah Angka

University

10 Qs

Create a Website 1

Create a Website 1

KG - University

10 Qs

Kabel LAN: Straight dan Cross

Kabel LAN: Straight dan Cross

10th Grade - University

10 Qs

Pre Test ComputerProgramming

Pre Test ComputerProgramming

University

10 Qs

Web-II-Loop and Function

Web-II-Loop and Function

University

10 Qs

VITAP Quiz-1

VITAP Quiz-1

University

10 Qs

Info git/github

Info git/github

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

ADNAN KHAN

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...

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>

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