Category: devops
What is GitHub
Published on 01 Jun 2026
Explanation
What is GitHub?
GitHub is a cloud-based
platform that hosts Git repositories. It
helps developers store code, track changes,
collaborate with teams, and manage software
projects.
Code:
https://github.com
Explanation
Git vs GitHub
Git is a version
control system used to track code
changes. GitHub is a platform that
hosts Git repositories online and provides
collaboration features.
Code:
Git -> Version Control Tool GitHub -> Cloud Platform for Git Repositories
Explanation
Creating a Repository
A repository (repo) is
a project folder that contains source
code, documentation, and configuration
files. GitHub
stores repositories online.
Code:
my-project/ ├── src/ ├── README.md ├── .gitignore └── pom.xml
Explanation
Common GitHub Operations
Developers use GitHub to
push code, pull updates, create branches,
and collaborate through pull requests.
Code:
git clone <repo-url> git add . git commit -m "Initial Commit" git push origin main
Explanation
Why Use GitHub?
GitHub provides version control,
team collaboration, code reviews, issue
tracking,
CI/CD integration, and project management
features.
Code:
Features: ✔ Repository Hosting ✔ Pull Requests ✔ Issues ✔ Actions (CI/CD) ✔ Team Collaboration