Mastering Git and GitHub

Mastering Git and GitHub

Professional Development

18 Qs

quiz-placeholder

Similar activities

CM - Chapter 5

CM - Chapter 5

Professional Development

15 Qs

CAN J1939 Protocol

CAN J1939 Protocol

Professional Development

22 Qs

Git Introduction

Git Introduction

University - Professional Development

20 Qs

Git

Git

Professional Development

17 Qs

Hangout

Hangout

Professional Development

20 Qs

Github Workflow and CI/CD

Github Workflow and CI/CD

University - Professional Development

20 Qs

WB MU 5

WB MU 5

Professional Development

16 Qs

Quiz Tanggal 6 Agustus 2021

Quiz Tanggal 6 Agustus 2021

Professional Development

20 Qs

Mastering Git and GitHub

Mastering Git and GitHub

Assessment

Quiz

Professional Development

Professional Development

Medium

Created by

Samuel Okon

Used 6+ times

FREE Resource

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 15 pts

What is the primary purpose of Git?

To create and manage databases.

To design user interfaces for applications.

To compile and run programming languages.

To manage and track changes in source code during software development.

2.

MULTIPLE CHOICE QUESTION

45 sec • 15 pts

Explain the difference between a local and a remote repository in Git.

Local repositories are on your machine; remote repositories are on a server.

Local repositories are only for backups; remote repositories are for collaboration.

Local repositories require internet access; remote repositories do not.

Local repositories are stored in the cloud; remote repositories are on your machine.

3.

MULTIPLE CHOICE QUESTION

10 sec • 10 pts

What command is used to initialize a new Git repository?

git create

git start

git init

git newrepo

4.

MULTIPLE CHOICE QUESTION

20 sec • 15 pts

How do you stage changes in Git before committing?

Execute 'git merge ' to stage changes.

Use 'git commit ' to stage changes.

Run 'git push' to stage changes before committing.

Use 'git add file' or 'git add .' to stage changes.

5.

FILL IN THE BLANK QUESTION

45 sec • 20 pts

What is the command to clone a GitHub repository? The command is _____.

6.

MULTIPLE CHOICE QUESTION

45 sec • 20 pts

What is the role of branching in Git when collaborating on a project?

Branching in Git allows developers to work on multiple features simultaneously without affecting the main codebase.

Branching in Git is used to permanently delete unwanted files from the repository.

Branching in Git serves as a method to track the history of all changes made in the repository.

Branching in Git is a way to create a single version of the project for deployment.

7.

MULTIPLE CHOICE QUESTION

20 sec • 15 pts

What command would you use to view the commit history in Git?

git status

git log

git show

git history

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?