
Mastering Git & GitHub Basics

Quiz
•
Computers
•
Professional Development
•
Medium
Sindhu Manivannan
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Aditi is starting a new project and wants to set up a version control system for her code. What command should she use to initialize a new Git repository?
git start
git init
git create
git newrepo
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Nikita wants to check the current status of her Git repository. How can she do that?
Type 'git current' for repository details.
Run 'git info' to see the status.
Use the command 'git check'.
Use the command 'git status'.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Advait is working on a project and has made some changes to the code. What command does he use to stage changes for a commit?
git push
git stage
git add
git commit
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
During a group project, Sneha made several changes to the codebase. Which command should she use to save those changes to the local repository?
git clone
git push
git fetch
git commit
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Aditi is working on a project and has made several changes to her local copy of the code. What is the purpose of the 'git push' command?
To clone a remote repository to the local machine.
To delete local changes from a remote repository.
To upload local changes to a remote repository.
To view the history of commits in a repository.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Neha wants to create a copy of a remote repository for her project. What command would she use?
git pull
git fetch
git clone
git copy
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Eshaan is working on a project and wants to prepare his changes for the next update. What does the 'git add .' command do?
Stages all changes in the current directory for the next commit.
Removes all files from the current directory.
Commits all changes in the current directory immediately.
Displays the status of the current directory without staging changes.
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
GİTHUB, İŞ AKIŞ YÖNETİMİ

Quiz
•
Professional Development
12 questions
Git & GitHub Quiz 2 Codingnest

Quiz
•
Professional Development
13 questions
git and github

Quiz
•
Professional Development
15 questions
Intro to Git Quiz

Quiz
•
Professional Development
10 questions
edX Vanderbilt - Day 1 Review

Quiz
•
Professional Development
9 questions
Git review

Quiz
•
Professional Development
10 questions
git basics

Quiz
•
Professional Development
11 questions
Chadev AI Coding Assistant

Quiz
•
Professional Development
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade