open source demo

open source demo

University

10 Qs

quiz-placeholder

Similar activities

Mastering Git Commands

Mastering Git Commands

12th Grade - University

15 Qs

Git basics

Git basics

University

11 Qs

Getting Started with git init

Getting Started with git init

University

10 Qs

Fellowship program 2021

Fellowship program 2021

University - Professional Development

15 Qs

Git Quiz

Git Quiz

University

13 Qs

GitHub MLSA

GitHub MLSA

University

5 Qs

Git Bash

Git Bash

University

10 Qs

Git and Github

Git and Github

University

15 Qs

open source demo

open source demo

Assessment

Quiz

Computers

University

Hard

Created by

ADNAN KHAN

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the first step when contributing to an open-source project on GitHub?

Create a pull request

Fork the repository

Commit changes

Clone the repository

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

After forking a repository, what should you do next?

Create a branch

Make changes directly in the main branch

Clone the repository to your local machine

Delete the fork

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does creating a new branch allow you to do?

Delete all previous commits

Test code without affecting the main branch

Change the repository settings

Automatically merge code changes

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a best practice when naming a branch for fixing an issue?

Create random branch names

Name the branch after the main developer

Use meaningful names related to the issue (e.g., fix-username)

Name the branch main

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of a pull request (PR)?

To send your changes directly to the main branch

To request that your changes be reviewed and merged into the original repository

To merge changes automatically

To delete your branch

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What should you include in your commit message?

A detailed explanation of the changes made

Random letters and numbers

A request for help

The date of the commit

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In GitHub Desktop, what action should you take to upload your changes to GitHub after committing them?

Click "Push origin"

Click "Revert"

Click "Merge"

Click "Pull request"

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?