Introduction To GitHub and Version Control
Introduction To GitHub and Version Control
Course Outline
2. What is Git?
3. What is GitHub?
● Track Changes: Every modification you or your team makes is saved, so you can always look back at older versions or undo
changes.
● Collaborate Seamlessly: Multiple developers can work on different features or fix bugs without conflict.
● Backup Your Work: Your code is safely stored online, so you can access it anytime, from anywhere.
CodeLab Academy
Where your innovation journey begins!
What is Git?
Git is a version control tool that helps manage your code and track changes across your project. It works on your local machine and
What is GitHub?
GitHub is an online platform that stores your Git repositories and helps you collaborate with others. It provides:
● Pull Requests: A way to propose and discuss changes before merging them into the main project.
Setting Up GitHub
● Set up your profile to make your work visible to others (optional but recommended).
● Download Git from git-scm.com and follow the installation instructions for your operating system.
● Verify the installation by opening your terminal (or Git Bash for Windows) and typing
git --version
CodeLab Academy
Where your innovation journey begins!
Cont..
3. Configure Git:
● After installation, configure Git with your name and email address:
git init
● To connect your local repository to the one you created on GitHub, set up a remote by running:
git status
Cont..
git push
git pull