GITHUB

GITHUB

University

12 Qs

quiz-placeholder

Similar activities

Git Bash

Git Bash

University

10 Qs

Git basics

Git basics

University

11 Qs

Understanding Git and GitHub

Understanding Git and GitHub

University

10 Qs

Collaborative Working using Git - Week 11

Collaborative Working using Git - Week 11

University

12 Qs

GitHub Jan12

GitHub Jan12

11th Grade - University

10 Qs

Git and Github

Git and Github

University

15 Qs

Git & GitHub

Git & GitHub

University

10 Qs

GitHub

GitHub

University

10 Qs

GITHUB

GITHUB

Assessment

Quiz

Computers

University

Medium

Created by

Lahari nalamati

Used 2+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to initialize a new Git repository?

git start

git init

git create

git new

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you check the status of your working directory and staging area?

git check

git status

git info

git review

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command stages changes for the next commit?

git stage

git add

git commit

git push

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command shows the commit history of the repository?

git log

git history

git changes

git commit --list

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you view the changes between your working directory and the last commit?

git diff

git changes

git status

git update

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a new remote repository on GitHub?

Use the GitHub API

Go to GitHub, click on "New repository," and follow the prompts

Run git create remote

Use the command line with git new-repo

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a pull request on GitHub?

A request to delete a branch

) A request to pull changes from a remote repository

A request to merge changes from one branch into another, typically reviewed before merging

A command to pull changes locally

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?