Resource · Guide or article
Git Guidance
A hands-on Git walkthrough covering the daily feature-branch workflow, merge conflicts, recovering lost work and commit hygiene. Especially handy for early-career engineers who want to talk confidently about version control and pull requests.
Reviewed
Open the original: Git Guidance (opens the original site in a new tab)Add to a roadmap
Keep this resource with a roadmap you follow. It appears as your own extra resource; the roadmap's steps don't change and it doesn't count toward your tracked steps.
Source content: English
Git is a distributed version control system. This means that - unlike SVN or CVS - it doesn't use a central server to synchronize. Instead, every participant has a local copy of the source-code, and the attached history that is kept in sync by comparing commit hashes (SHA hashes of changes between each git commit command) making up the latest version (called HEAD).
PrepKit overview
PrepKit editors wrote and reviewed this overview from the source repository. It is not text from the resource itself.
- Suited to
- Early career
- Format
- Guide
What it covers
- Explains Git as a distributed system whose history works like a Merkle tree, with a small example of which repos can sync.
- Walks through clone, branch, commit, push and pull-request merging, including resolving conflict markers.
- Covers git stash, recovering commits with git reflog, and undoing work with git revert, git reset and interactive rebase.
- Gives commit advice: small commits, no whitespace mixed with logic, a subject line of at most 50 characters and a body wrapped at 72.
- Touches on remotes and forks, submodules, Git LFS for binaries and VFS for Git for very large repositories.
How to use it
PrepKit study advice, not a claim made by the source.
Recreate a merge conflict in a scratch repository, resolve it, then lose a commit with a reset and recover it through reflog. Afterwards, explain in your own words when you would choose revert over reset on a shared branch.
Scope and limitations
Editor setup and tooling assume Visual Studio Code and GitLens, and the PR section links Azure DevOps alongside GitHub. The workflow uses a develop branch, which is one team convention among several. Team guidance, not interview material.
Access and format
Free English web page in the ISE Engineering Fundamentals Playbook on microsoft.github.io; the text comes from the CC BY 4.0 microsoft/code-with-engineering-playbook repository.
Reviewed by PrepKit on Oct 2, 2026. Listing source commit: 016770e43d8a
Evidence behind this overview
- docs/source-control/git-guidance/README.md
Pages that include this
Get the PrepKit newsletter
Optional. You don't need it to use PrepKit.