Search Header Logo

GDSC Git

Authored by Bhanu pawar

Computers

University

GDSC Git
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is git?

A version Control System

Short name for GitHub

A Programming Language

A Remote Repository Platform

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the command to get the installed version of git?

git --version  

git help version

getGitVersion

gitVersion

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which option should you use to set the default user name for every repository on your computer?

No need to specify, that is the default.  

--all

--A

--global

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the command to set the user email for the current repository?

git config email

git config user.email

git email.user

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the command to add all files and changes of the current folder to the staging environment of the git repository?

git add --all  

git add

git add --files

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the command to get the current status of the git repository?

git status  

--status

git config --status

git getStatus

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the command to initialize git on the current repository?

git init  

start git

git start

initialize git

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