Search Header Logo

Git/Github

Authored by Nilin LAY

Computers

University

Used 2+ times

Git/Github
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

30 sec • 1 pt

Which of these terms best describes GitHub?

A. Web-Based Repository Hosting Service

B. Issue Tracking System

C. Distributed Version Control System

D. Integrated Development Environment

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the correct order of git commands to start, change/modify, and save commits in the local repository?

1. git config user.name

2.git config user.email

3. git add .

4. git save

1. git init

2. git add .

3. git status

4. git commit -m" "

1. cat .git/config

2. git init

3.git status

  1. git add .

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How to clone a remote repository?

git pull origin main

git push origin main

git remote add origin main

git clone origin main

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How do you check which branch your working tree is on?

git commit

git config user.name

git status or git log

cat .git/config

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose one that is not a Git branch

Bugfix

Hotfix

Release

Issue

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How to add a URL link your local repository to the remote repository?

git remote -rm

git remote link {url}

git remote push {url}

git remote add origin {url}

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the first most thing to remember before making a feature or any branch?

git init to initialize git

Branch the source code from main or develop

Always fetch updates from main

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