Plenty of developers can run git add, git commit and git push, then freeze when a merge conflict appears or a branch goes wrong. Working in a team adds more questions: how to name branches, how big a pull request should be, how to review someone else's code. This course explains how Git actually stores your work and then builds the habits that let a team ship changes together without stepping on each other.
What you'll learn
- How Git works underneath: commits, the staging area, branches and
HEAD - Writing small, focused commits with messages that explain why, not just what
- Branching strategies: trunk-based development, short-lived feature branches and when Git Flow still makes sense
- Merging versus rebasing, and resolving merge conflicts calmly
- Pull requests on GitHub: descriptions, draft PRs, linked issues and keeping changes reviewable
- Giving and receiving useful code review, including with AI review tools in the loop
- Protecting the main branch with branch rules, required checks and CODEOWNERS
- Undoing mistakes:
restore,reset,revert,reflogand recovering "lost" work - Tags, releases and semantic versioning
- Keeping secrets and large files out of repositories
Who it's for
- Developers who use Git alone and are joining or building a team
- Freelancers and agencies collaborating with clients' in-house developers
- Designers, writers and technical marketers who need to contribute to a repository
Prerequisites
- Basic command-line comfort (see Linux Command Line for Developers if you are new to the terminal)
- A free GitHub account
- Git installed locally; any editor works
Outcomes
By the end of this course you will be able to:
- Explain what Git is doing when you commit, branch, merge or rebase.
- Follow a team branching and pull request workflow with confidence.
- Resolve merge conflicts and recover from common mistakes on your own.
- Set up a repository with branch protection, review rules and release tags.
Projects you'll build
- A broken-history rescue - You start with a deliberately messy repository and recover a deleted branch with the reflog, undo a bad commit with revert, and clean up a feature branch with interactive rebase. You practise fixing mistakes without panic.
- A team pull request workflow - In small groups you each build a feature on a branch, open pull requests, review each other's changes and resolve real merge conflicts. You practise writing reviewable commits and useful review comments.
- A protected, release-ready repository - A repository with branch protection rules, required status checks, CODEOWNERS, issue and pull request templates, and tagged releases with release notes. You practise the settings a team relies on every day.
Tools you'll use
- Git 2.4x on the command line
- GitHub: pull requests, Issues, Projects, rulesets and Releases
- GitHub CLI (
gh) - VS Code source control and GitHub Desktop
- pre-commit hooks for formatting and linting checks
Course outline
| Module | Topic |
|---|---|
| 1 | Version control and how Git stores history |
| 2 | Commits, staging and writing good messages |
| 3 | Branches and moving between them |
| 4 | Merging, rebasing and conflict resolution |
| 5 | Remotes: clone, fetch, pull and push |
| 6 | Team branching strategies |
| 7 | Pull requests and reviewable changes |
| 8 | Code review practice |
| 9 | Branch protection, required checks and CODEOWNERS |
| 10 | Undoing mistakes and recovering work |
| 11 | Tags, releases and repository hygiene |
| 12 | Project: a team feature from issue to merged release |
FAQ
Is this only about GitHub?
Git skills work everywhere. The collaboration features are taught on GitHub, and we point out the equivalents in GitLab and Bitbucket where they differ.
Do you cover graphical Git tools?
We work mainly on the command line so you understand each step, then show how the same actions look in VS Code and GitHub Desktop.
What should I learn next?
CI/CD with GitHub Actions builds on these workflows by testing and deploying every pull request automatically.
Merge or rebase: which should my team use?
Both are valid. Rebasing keeps history linear but rewrites commits, so it should not be used on branches others have already pulled. Merging preserves exactly what happened. We practise both and show how squash merges on GitHub give many teams a simple middle path.
How do I join?
Get in touch and we'll share the current format, schedule and enrolment details.