GitHub Notes:

Table of Content:

Repository

A repository is the backbone of GitHub. A repository collect and store your code and files. Repositories can also support collaboration, allowing multiple people to work together. A repository can be set to either public, where anyone can view them, or private, where access is restricted to selected individuals.

Upstream

The upstream branch is the branch in the original repository that has been forked or cloned. In contrast, the corresponding branch in the cloned or forked repository is referred to as the downstream branch.

Branches

A separate version of your code that exists within the repository but doesn't change or affect the main branch.

Clone

When you use the feature 'clone' in GitHub, you download a complete copy of a repository's data. This includes all versions of every file and folder and creates a local copy of the cloned repository on your computer.

Fork

A forkis a new repository that copies the code and shares the visibility settings of the original "upstream" repository. It allows you to make changes to the code independently, while staying connected to the upstream repository for potential updates or contributions.

Merge

To merge is to take the changes from one branch and apply them to another, combining the work from both branches into a single version. This is commonly used to integrate updates or new features from a development branch into the main branch.

Pull Request

A pull request is a request to merge changes from one branch into another. It allows team members to review the proposed changes before integrating them into the target branch, typically the main branch.

Remote

A remote repository is a repository stored on GitHub or another online platform, rather than on your local computer. It allows you to collaborate with others and sync changes between your local repository and the remote version.

And you are done 😄