Git & GitHub
/Beginner
What is GitHub?
Definition
A web-based hosting service for software development and version control using Git. It provides the distributed version control of Git plus access control, bug tracking, feature requests, task management, and continuous integration.
Explain Like I'm New
If Git is the camera, GitHub is Instagram. It's the social network and cloud storage center for developers. It's where you upload your code so others can view it, collaborate on it, and download it.
Real World Example
Virtually every Open Source project (React, Linux, VS Code) is hosted on GitHub, allowing millions of developers around the world to collaborate on the same code seamlessly.
Common Use Cases
- •Cloud code hosting
- •Open Source collaboration
- •Developer portfolios
Terminal Output
bash / terminal
/*
Features that GitHub provides ON TOP of Git:
1. Pull Requests (UI for reviewing code before merging)
2. Issues (Bug tracking and task lists)
3. GitHub Actions (Automated servers that test your code)
4. GitHub Pages (Free website hosting)
5. Forking (Easily copying other people's projects)
*/
Interview Questions
basic
- Is GitHub owned by the creators of Git?
intermediate
- What is a 'Readme.md' file on GitHub?