It is possible to do the two things separately, but in practice you will nearly always do them together when contributing to other people's projects.
Cloning means making a local copy of a repo for you to work on (i.e.
Forking means creating your own copy of a repo on GitHub.
You'll be learning all of these steps in this guide.įorking and cloning are two terms you'll come across often in the world of Git:
Proposing to make that change in the original copy of the repo via a pull request.
How to download mac apps from github code#
Creating a different version of the code in your fork of the repo (called a branch) and adding your changes to that alternative version.
Creating your own copy of that repo (called a fork).
Making a change to a repository minimally involves:.
Each codebase is stored in a container called a repository, or repo.
Its functions are similar to those of other applications, such as GitLab or Bitbucket.
GitHub is a web application that provides useful tools on top of Git for working with stored codebases, as well as server space to store the codebases.
It allows a group of developers to work on the same code base without getting in each other's way, stores the code base safely in a remote location, allows developers to roll the code back to previous states if required, and more.
Git is a version control system tool - an essential class of tools in any development workflow.
The following are essential concepts that you must be familiar with to get the most out of Git and GitHub.