GitHub Quiz: Can You Beat Real Devs?

Think GitHub is easy? Test your knowledge of pull requests, Actions, secret scanning, branches, CI/CD, and real developer workflows today used by experts pro!

May 23, 2026 - 13:30
May 23, 2026 - 14:00
 0  1

1. Which file in a "GitHub" repository is automatically rendered on the repository's homepage?

GitHub automatically picks up and displays a specific file on the front page of every repository containing it. This file typically outlines what the project does, how to set it up, usage guidance, and contributor notes. Written in a lightweight text formatting syntax, it is the first thing most visitors read on landing.

README
LICENSE.txt
CONTRIBUTING.md
CHANGELOG.md

2. In GitHub, what is the default branch name used in newly created repositories?

GitHub's REST API maps operations to standard HTTP methods. Creating a new resource uses the HTTP method linked to submitting data. Developers send a request to a set endpoint with authentication and a JSON body specifying details like the repository name, description, and whether it should be public or private.

master
main
develop
trunk

3. Which GitHub Actions trigger runs a workflow whenever code is pushed to any branch?

GitHub Actions workflows are started by events that occur within a repository. One event-based trigger fires each time new code is pushed, regardless of which branch is the target. It is one of the most frequently used triggers for kicking off automated checks, builds, and deployments the moment new commits land in the repository.

on: release
on: pull_request
on: push
on: schedule

4. Which GitHub security feature scans repository code for exposed secrets such as API keys and tokens?

GitHub has a built-in security feature that monitors repository contents for sensitive data committed accidentally. It checks for patterns matching known credential formats, such as API keys and private tokens. Repository owners are notified when a match is found, helping teams act quickly before any exposure causes a real security issue.

Branch protection rules
Dependabot alerts
Code scanning with CodeQL
Secret scanning

5. In GitHub's REST API, which HTTP method is used to create a new repository under an authenticated user's account?

GitHub's REST API maps operations to standard HTTP methods. Creating a new resource uses the HTTP method linked to submitting data. Developers send a request to a set endpoint with authentication and a JSON body specifying details like the repository name, description, and whether it should be public or private.

POST /user/repos
PUT /repos/{owner}/{repo}
PATCH /user/repos
GET /repos/create

What's Your Reaction?

Like Like 0
Dislike Dislike 0
Love Love 0
Funny Funny 0
Angry Angry 0
Sad Sad 0
Wow Wow 0
ANAND SWAMI Anand Swami is a Senior Content Manager and quiz content writer with 7+ years of writing quizzes, blogs, and articles that have driven over 150 million organic visits. From General Knowledge, history, science, and technology to business, personality, lifestyle, and travel, he has covered it all and built genuine audience engagement along the way. Outside of work, Anand is a certified tabla player and a TKFI karate player, two disciplines that keep him sharp, focused, and creative.