# Github - Study guide This document contains the most basic questions and answers to the github exam. Study these and look up features on github to be able to answer them correctly on the upcoming test. Eg. at least check it once on the actual website. ## What is a fork in GitHub? A fork is a copy of a repository that is created by a user so that they can work on the code independently from the original repository. This allows them to experiment with new features or make changes without affecting the original code. ## What is a branch in GitHub? A branch is a way of creating a separate line of development within a repository. This allows multiple people to work on different features or bug fixes simultaneously without affecting the main codebase. ## What is the master branch in GitHub? The master branch is the default branch in a repository. It is the main branch where the latest and most stable version of the code is kept. ## What is Kanban in GitHub? Kanban is a method of project management that is often used in software development. It involves using a visual board to track the progress of work and identify areas that need attention. In GitHub, Kanban boards can be used to organize tasks and track the progress of a project. ## What is a pull request in GitHub? A pull request is a way of submitting changes that you have made to a repository to the owner of the original repository for review. This allows other users to see the changes you have made and discuss them before they are merged into the main codebase.Here is an example exam that covers some of the topics you mentioned: ## What are teams in GitHub? Teams in GitHub are groups of users who have been given access to a repository or a set of repositories. This allows collaboration and easier management of permissions and access to the code. ## How can a flowchart be used in GitHub? A flowchart can be used in GitHub to visually represent the steps in a process or the different branches of a decision tree. This can help clarify the logic behind a piece of code or provide a high-level overview of how a project is structured. ## What is a commit in GitHub? A commit is a saved snapshot of the changes that have been made to a repository. When a user makes changes to a repository, they can commit those changes to save them. Each commit has a unique identifier and a message that describes the changes that were made. ## What is a repository in GitHub? A repository (or repo) is a collection of files and directories that are stored on GitHub. These files and directories can include code, images, documents, and other types of files. Repositories can be created, shared, and collaborated on by users. ## What is a remote in GitHub? A remote is a way of referring to a repository that is stored on a different server from the one that you are currently working on. This allows users to work on a repository that is stored on a remote server, such as GitHub, and then push their changes back to that remote repository. distributed ## What is the main reason behind using git? The main reason is to have a distributed version control system, this enables programmers to have a local copy of a project without depending on a centralized solution. Therefore you can work offline and then push the code afterwards up when you have internet. It could be argued that it is particulary good in high security environments. ## What is the main reason behind using GitHub? Here are a few: + Collaboration: GitHub makes it easy for multiple people to work on the same project simultaneously. It allows users to collaborate on code, track changes, and manage conflicts. + Version control: GitHub provides a powerful system for tracking and managing different versions of a project. This allows users to experiment with new ideas without losing previous work and makes it easy to revert to an earlier version if needed.