Learning Objectives: By the end of this module, you will be able to:
- Understand the purpose of version control and the role of Git and GitHub.
- Install and set up Git on your local machine.
- Create a new Git repository and make changes using common Git commands (like
git add
,git commit
,git push
, etc.) - Understand the concept of branches and how to use them effectively in Git.
- Collaborate with others using GitHub, including pushing to repositories and understanding the basics of pull requests.
Estimated Time: Approximately 10-15 hours, depending on your pace.
- Description: An overview of what version control is and why it's useful. Introduction to Git as a distributed version control system.
- Resources: Git - About Version Control
- Description: Walkthrough of how to install Git on your machine and set up your user name and email.
- Resources:
- Description: You'll learn how to initiate a new repository, make changes, and view your changes.
- Resources:
- Description: In-depth look at commands like
git add
,git commit
,git push
and others. You'll also understand the typical workflow using Git. - Resources: Git - Recording Changes to the Repository
- Description: Learn about the concept of branches and how to create and switch between branches.
- Resources: Git - Branches in a Nutshell
- Description: Introduction to GitHub, including creating a GitHub account, creating and cloning repositories, and understanding the basics of pull requests.
- Resources:
- Description: Put your newly learned skills to test by setting up a Git repository, making changes on different branches, and pushing it to GitHub. Experiment with creating a pull request on GitHub.