Search Header Logo

GITHUB

Authored by Apurwa Singh

Computers

Professional Development

Used 20+ times

GITHUB
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You just made a mistake in a git repo. Which command shall undo this misktake

git clone

git init

git restore .

git config -l

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command initializes a new Git repository?

git start

git init

git new

git create

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command sets the global username ?

git config --global user.name "Your Name"

git config -l

git push

git init

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command shows the commit history?

git status

git log

git init

git add .

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When you clone a public repo the name of the remote repo by default is

git

github

origin

remote

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which key do you paste in github ?

Public Key

Private Key

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The first commands to run after just installing git in pc is

git config --global

git log

git push

git pull

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?