Document: Introduction to GitHub
What is Version Control with Example?
Version control is a system that tracks changes in files over time. For example, if
you’re writing a report and make changes, version control saves each version so you
can go back if needed.
What is GitHub?
GitHub is a platform that helps you store and manage your code online. It’s like a
social network for programmers, where you can share projects and collaborate.
Why Use GitHub?
Collaboration: Work with others easily.
Backup: Your code is saved online.
Organization: Keep your projects structured.
How GitHub Helps Programmers
GitHub makes it easier to collaborate on coding projects, track changes, and manage
code. It also allows you to contribute to open-source projects.
Getting Started with GitHub
1. Create an Account: Sign up on GitHub.
2. Explore: Look around at repositories.
3. Join a Project: Find a project to contribute to.
Understanding Repositories
A repository (or repo) is where your project files are stored. It includes all your code,
documentation, and version history.
Collaborating on GitHub
You can work with others by forking projects, making pull requests, and discussing
issues. Collaboration is simple and organized.
GitHub Terms You Should Know
Commit: Save changes to your project.
Fork: Create a personal copy of someone else's project.
Pull Request: Suggest changes to a project.
Tips for Beginners
Start with small projects.
Use README files to explain your projects.
Don’t hesitate to ask questions in the community.