GitHub MLSA
Quiz
•
Education, Computers
•
University
•
Medium
Omar Elsherif
Used 8+ times
FREE Resource
Enhance your content in a minute
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the best way to report a bug to a GitHub project?
Send an email to a project owner.
I don't bother reporting software bugs because there's no transparency and they never get fixed anyway.
Search for the bug in the project's existing issues and create a new one if it hasn't been reported yet.
Answer explanation
A project's issues are visible to anyone who has access to the project, so you may find a resolution is already planned or available. Otherwise, you can create and track the issue yourself.
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Suppose you have created a bug fix on a new branch and want it to become part of the next production build generated from the main branch. What should you do next?
Copy your branch changes and commit them directly to the main branch.
Create a pull request to merge your new branch into the main branch.
On second thought, maybe I won't share this fix. I'll just put it in my own private version of the source code.
Answer explanation
Pull requests are the correct way to communicate that commits are ready for review and ultimate inclusion on the main branch.
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Suppose you'd like to work with a project on GitHub but you don't have write access to the project. What can you do to contribute?
Fork the project's repository to your GitHub account, clone the forked repository to your local machine, push changes to your repository, and submit a pull request to the target (upstream) repository.
Clone the project to your local machine and push updates directly to the project repository.
Use git commands to make a copy of the project so that you can work locally. Submit an issue to get your changes into the target repository.
Answer explanation
GitHub provides forking functionality designed to allow you to work with projects where you aren't an owner or don't have write access. Forking makes a remote copy of the project in your repository that you can then clone locally. To submit updates to the target repository (upstream repository) you can submit a pull request.
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What’s the difference between Git and GitHub?
Git lets you work with one or more local branches and push changes to a remote repository. GitHub acts as the remote repository, which is accessed through a website or command-line tools.
Git is a distributed version control system (DVCS) that runs in the cloud. GitHub is an interface layer that provides access to Git technology.
Git is used by an individual contributor. GitHub is used by multiple contributors to simplify group development work.
Answer explanation
Correct! Git is the tool you can use to work with a local branch and push changes to a remote repository. GitHub acts as the remote repository.
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following statements is true about branches in Git?
Work done on a branch doesn't interfere with work in other branches.
A branch can't have any other branches that extend from its line of development.
The default branch in a Git repo is named master and this branch name can never be changed.
Answer explanation
Correct!
The purpose of branches is to isolate changes in one branch from changes made in another branch, until you're ready to merge the changes in both branches together.
Similar Resources on Wayground
10 questions
margaret hamilton
Quiz
•
University
10 questions
Software Testing
Quiz
•
University
10 questions
Quiz IAS 16
Quiz
•
University
10 questions
C++ Array Quiz
Quiz
•
University
10 questions
epithelium
Quiz
•
University
10 questions
Communication Tools
Quiz
•
University
10 questions
Node.js
Quiz
•
University
10 questions
PHP Introduction - Assignment 1
Quiz
•
University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Education
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
9 questions
Principles of the United States Constitution
Interactive video
•
University
18 questions
Realidades 2 2A reflexivos
Quiz
•
7th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
25 questions
Integer Operations
Quiz
•
KG - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University
20 questions
SER vs ESTAR
Quiz
•
7th Grade - University
