DevOps · module
Learning Git and GitHub
Git records every change to your code so you can undo mistakes and work in parallel. GitHub is where teams share that history, review each other's work and ship it.
Start module- Lesson 1beginner
What is Git, and why every team uses it
- Explain what version control is and the problems it solves
- Describe the difference between Git and GitHub
- Understand Git's three areas: working directory, staging area and repository
10 min
- Lesson 2beginner
Everyday Git: commits, branches and merges
- Make small, well-described commits and read the history
- Create branches to work on features in isolation
- Merge branches and resolve a merge conflict
- Undo mistakes safely
15 min
- Lesson 3beginner
Collaborating on GitHub: pull requests and protected branches
- Connect a local repository to GitHub and keep it in sync
- Use the pull request workflow to review and merge changes
- Protect the main branch with required reviews and checks
- Apply basic security settings to a GitHub organisation
15 min