GitHub Interface and Features Flashcards

1
Q

Q: What is a GitHub repository?

A

A: A storage space on GitHub where project files and their version history are kept.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Q: How do you create a new repository on GitHub?

A

A: Click the New button on the repositories page, fill in the details, and click Create Repository.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Q: What is a README file?

A

A: A markdown file (README.md) that provides an introduction or documentation for your project.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Q: How do you clone a GitHub repository?

A

A: Use the URL from the repository’s Code button and run git clone <repository-URL>.</repository-URL>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Q: What is a fork in GitHub?

A

A: A fork is a copy of another user’s repository that you can modify independently.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Q: How do you fork a repository?

A

A: Click the Fork button at the top-right corner of the repository page.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Q: What is a pull request?

A

A: A request to merge changes from one branch or fork into another branch of a repository.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Q: How do you create a pull request?

A

A: Navigate to the repository, click Pull Requests, then New Pull Request, and follow the prompts.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Q: What is a GitHub issue?

A

A: An issue is a way to track tasks, bugs, or feature requests within a repository.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Q: How do you create a GitHub issue?

A

A: Go to the Issues tab and click New Issue, then fill out the details and submit.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Q: What is a GitHub action?

A

A: A feature for automating workflows like CI/CD using YAML configuration files.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Q: How do you enable GitHub Actions in a repository?

A

A: Go to the Actions tab, choose a workflow template, and commit the .github/workflows file.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Q: What is a GitHub milestone?

A

A: A way to group issues and pull requests related to a specific goal or deadline.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Q: How do you add a milestone to an issue?

A

A: Open the issue, click the Milestone dropdown, and select or create a milestone.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Q: What are GitHub labels?

A

A: Tags that help categorize issues and pull requests, such as bug, enhancement, or help wanted.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Q: How do you apply a label to an issue or pull request?

A

A: Open the issue or pull request, click Labels, and select the desired label.

17
Q

Q: What is a GitHub project board?

A

A: A Kanban-style board for tracking issues, pull requests, and notes.

18
Q

Q: How do you create a GitHub project board?

A

A: Go to the Projects tab, click New Project, and choose a template or start from scratch.

19
Q

Q: What is GitHub Pages?

A

A: A feature for hosting static websites directly from a repository.

20
Q

Q: How do you enable GitHub Pages?

A

A: Go to the repository’s Settings, scroll to Pages, and select a branch as the source.

21
Q

Q: What is a GitHub wiki?

A

A: A repository-integrated documentation space for hosting structured content.

22
Q

Q: How do you enable or edit a GitHub wiki?

A

A: Go to the Wiki tab in the repository and start creating or editing pages.

23
Q

Q: What is a GitHub discussion?

A

A: A space for open-ended conversations about a project, similar to a forum.

24
Q

Q: What is a GitHub release?

A

A: A versioned snapshot of your project, often including compiled binaries or changelogs.

25
Q

Q: What is a GitHub template repository?

A

A: A repository configured as a reusable starting point for new projects.