GH-900 study notes · 25–30% of the exam
Understand Git and GitHub basics
First draft for review. Check details against Microsoft Learn before relying on them.
What this area covers
Version control and Git concepts, and the basics of GitHub, including GitHub flow.
Version control and Git
- Version control tracks history, supports collaboration, and lets you restore earlier versions.
- Git is distributed version control that runs locally. GitHub hosts Git repositories and adds collaboration features.
- Key concepts:
- Repository: the project's files and history.
- Commit: a snapshot of changes.
- Branch: an isolated line of work.
- Merge: combine branches.
- Remote: a shared copy, usually called origin.
- Clone: copy a repository locally.
- Push and pull: send and receive changes.
- Merge conflict: the same lines were edited in different ways.
GitHub
- Accounts: personal, organisation and enterprise. Enterprise accounts manage many organisations centrally.
- GitHub flow: branch, commit, open a pull request, review, merge, then delete the branch.
- Markdown: headings, lists, code blocks, links, @mentions and task lists (
- [ ]). - GitHub Desktop is a GUI for Git. GitHub Mobile handles notifications, reviews and merges on a phone.
Exam tips
- Git is the tool and GitHub is the platform.
- Pull requests are central to GitHub flow.