1. What is the relationship between Git and GitHub?
Git is a version control tool
GitHub is a project hosting platform that uses Git as a version control
What is the relationship between 2.Git and Gitlib.
Gitlib is the development repository for GIT functionality
the difference between 3.GitHub and Gitlab.
Both are web-based git repositories that, to a large extent, are modeled on GitHub, providing a platform for sharing open source projects, providing a central cloud storage site for development teams to store, share, publish, and collaborate on Gitlab development projects.
As an open source repository and version control system, GitHub has more than 9 million developer users and is still the hottest open source project hosting system. GitHub also provides both public and private warehouses, but if you want to use a private warehouse, you pay for it.
And Gitlab solves this problem, you can create a private free warehouse on it.
Gitlab gives the development team more control over their code warehouse, which has a number of features compared to GitHub:
* Allow free set of warehouse permissions;
* Allows users to choose to share part of a project's code;
* Allow users to set project access to further enhance security;
* Can be set to get to the overall team improvement progress;
* The resource is not accessible to people who are not in the permission range through innersourcing.
From the point of view of code privacy, sometimes the company does not want employees to get all the code, this time Gitlab is undoubtedly a better choice. But for open-source projects, GitHub is still the first choice for code hosting
2. Download and install git (a lot of information on the web )
3. Application of Git