Introduction to Git and Github

Introduction to Git and Github

University

10 Qs

quiz-placeholder

Similar activities

Git Bash Quiz

Git Bash Quiz

University

10 Qs

Git hub Pull Request

Git hub Pull Request

University

10 Qs

9BN5WcJU3nv8cQSTPOYKe1Kc5ASAfiKMTT/mjbrAcRuQ9f6LlNM/xL9iJhpxH1tK

9BN5WcJU3nv8cQSTPOYKe1Kc5ASAfiKMTT/mjbrAcRuQ9f6LlNM/xL9iJhpxH1tK

University

15 Qs

Hacktoberfest-2021

Hacktoberfest-2021

University

10 Qs

Intro to GitHub

Intro to GitHub

University

7 Qs

Software Engineering Session 2

Software Engineering Session 2

University

5 Qs

PHP Tours Meetup #16 (Gitkraken + API Platform)

PHP Tours Meetup #16 (Gitkraken + API Platform)

University - Professional Development

10 Qs

Git & GitHub

Git & GitHub

University

10 Qs

Introduction to Git and Github

Introduction to Git and Github

Assessment

Quiz

Computers

University

Hard

Created by

Ayushi Awasthi

Used 6+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the command to initialize a Git repository in a directory?

git init

init git

git create

git start

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the command to add files to the staging area in Git?

git push

git checkout

git commit

git add

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to confirm changes in Git?

git commit

git checkout

git add

git push

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the command to merge branches in Git?

git merge

git push

git branch

git commit

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of a remote repository in GitHub?

Store and manage project versions collaboratively

Share memes with other users

Organize networking events for developers

Create a local backup of the project

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you clone a remote repository in GitHub through the command line?

git clone

git commit

git add

git pull

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the basic workflow in Git?

Open, copy, paste, save as

Clone, make changes, add, commit, push

Download, edit, delete, save

Create, move, rename, delete

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?