Search Header Logo

Mastering Git, GitHub, and SSH

Authored by Mandeep Kaur

Computers

12th Grade

Used 1+ times

Mastering Git, GitHub, and SSH
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

What is Git primarily used for?

A database system for storing data.

Version control system for tracking changes in source code.

A programming language for web development.

Project management tool for organizing tasks.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you initialize a new Git repository?

Use 'git new' to initialize a repository.

Run 'git start' in your project directory.

Execute 'git create' to set up a new repository.

Run 'git init' in your project directory.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to check the status of your Git repository?

git check

git info

git status

git status-check

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of a commit in Git?

The purpose of a commit in Git is to record changes to the repository.

To delete files from the repository.

To merge branches in Git.

To create a new branch in the repository.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a new branch in Git?

git create

git branch or git checkout -b

git new branch

git switch

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command do you use to switch branches in Git?

git checkout or git switch

git branch

git change

git move

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between 'git pull' and 'git fetch'?

'git fetch' merges changes automatically; 'git pull' does not fetch any updates.

'git fetch' updates local references without merging; 'git pull' fetches and merges changes.

'git pull' updates local references without merging; 'git fetch' fetches and merges changes.

'git pull' only updates local references without fetching; 'git fetch' merges changes.

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?