Git fundamentals · 3 min
Add or change a Git remote URL safely
Inspect existing Git remotes, choose add versus set-url, and verify the destination before sending commits to a different repository.
Read guide : Add or change a Git remote URL safely35 PRACTICAL GUIDES
Understand commits, branches, remotes, and the working tree. Small, inspectable examples for everyday Git tasks.
Git is easier to reason about when you can tell what changed and where those changes live. Start with the working tree, staging area, and commit history, then build up to branches and collaboration. These guides use local commands and verification steps; gitHtml is a document reader, not a Git client.
Git fundamentals · 3 min
Inspect existing Git remotes, choose add versus set-url, and verify the destination before sending commits to a different repository.
Read guide : Add or change a Git remote URL safelyGit fundamentals · 3 min
Split independent edits into focused commits using Git’s interactive patch staging, then verify both staged and unstaged content.
Read guide : Stage part of a file with git add --patchGit fundamentals · 3 min
Use Git attributes to make text line endings explicit, inspect effective rules, and plan normalization separately from functional edits.
Read guide : Set a shared line-ending policy with .gitattributesGit fundamentals · 3 min
Package committed Git history in a bundle, verify its references, and understand which working files and external data it does not preserve.
Read guide : Create and verify a Git bundle for offline transferGit fundamentals · 3 min
Apply a specific commit to another branch, inspect dependencies, and handle conflicts without accidentally moving unrelated history.
Read guide : Cherry-pick one Git commit onto the intended branchGit fundamentals · 3 min
Choose between cloning a GitHub repository and downloading a source archive, with practical differences in history, updates, and contribution work.
Read guide : Git clone vs Download ZIP: choose the right copyGit fundamentals · 3 min
Trace Git settings to local, global, system, or included configuration files before changing a value that behaves unexpectedly.
Read guide : Find where a Git configuration setting comes fromGit fundamentals · 3 min
Configure Git author identity at repository or global scope, check the effective values, and understand why this does not log you into GitHub.
Read guide : Set the correct Git author name and emailGit fundamentals · 3 min
Start a local branch from the intended commit, understand what happens to uncommitted changes, and verify your branch before committing.
Read guide : Create and switch to a Git branch without losing editsGit fundamentals · 3 min
Label a specific Git commit with an annotated tag, inspect its target, and publish only the intended tag after checking repository policy.
Read guide : Create an annotated Git tag for a verified revisionGit fundamentals · 3 min
Create a first Git commit with the intended files, correct author identity, and a clear message, then verify what Git recorded locally.
Read guide : Make your first Git commit and verify its contentsGit fundamentals · 3 min
Use the right Git diff command to review your working edits, the next commit, or all tracked changes relative to HEAD.
Read guide : See staged and unstaged changes with git diffGit fundamentals · 3 min
See when Git can advance a branch directly, when a merge commit preserves two histories, and how to inspect the result safely.
Read guide : Understand fast-forward merges and merge commitsGit fundamentals · 3 min
Understand what fetch and pull change, inspect incoming commits, and use fast-forward-only integration when that matches your workflow.
Read guide : Git fetch vs pull: inspect updates before integratingGit fundamentals · 3 min
Put personal editor files, checkout-only notes, and shared generated artifacts in the right Git ignore location without hiding project source.
Read guide : Choose global, local, or repository Git ignore rulesGit fundamentals · 3 min
Read Git parent-revision expressions correctly, especially around merge commits, and verify a target before using it in a modifying command.
Read guide : Understand HEAD, HEAD~1, and HEAD^2 in GitGit fundamentals · 3 min
Create a Git repository in the correct project folder, review files before the first commit, and avoid accidentally tracking parent directories.
Read guide : Initialize Git in an existing project safelyGit fundamentals · 3 min
Distinguish local branches from origin branches, inspect upstream tracking, and understand why a branch list may be out of date.
Read guide : List local and remote-tracking Git branchesGit fundamentals · 3 min
Use git log graph output to understand branch ancestry, merge parents, and reference labels without treating screen position as ownership.
Read guide : Read a Git history graph without confusing lanesGit fundamentals · 3 min
Learn why origin and upstream are conventional remote names, how to inspect their destinations, and how they differ from a branch upstream.
Read guide : Understand origin and upstream in a fork workflowGit fundamentals · 3 min
Publish a reviewed local branch with an explicit destination, establish tracking, and confirm the remote received the intended commit.
Read guide : Push a new local Git branch to the right remoteGit fundamentals · 3 min
Compare merge and rebase by history effects, shared-branch risk, and review needs rather than choosing only by how the graph looks.
Read guide : Choose Git merge or rebase for a collaboration taskGit fundamentals · 3 min
Distinguish reversing a shared commit, moving a local branch, and restoring file content so an undo command matches your actual goal.
Read guide : Choose Git revert, reset, or restore by what must changeGit fundamentals · 3 min
Configure a local branch to track the correct remote branch and understand how that relationship affects status, pull, and push defaults.
Read guide : Set a Git branch’s upstream deliberatelyGit fundamentals · 3 min
Use shallow clones for bounded tasks, recognize missing ancestry, and know when to deepen history for comparisons or investigation.
Read guide : Understand what a shallow Git clone leaves outGit fundamentals · 3 min
Review a commit’s metadata, changed files, and patch with git show while leaving your current branch and working files untouched.
Read guide : Inspect one Git commit without checking it outGit fundamentals · 3 min
Limit the files present in a Git checkout, understand cone mode, and distinguish sparse checkout from downloading less history.
Read guide : Use sparse checkout for selected repository directoriesGit fundamentals · 3 min
Create a focused Git commit by staging explicit paths, inspecting the index, and keeping unrelated edits outside the proposed snapshot.
Read guide : Stage only the files you intend to commitGit fundamentals · 3 min
Choose between stash apply and pop, inspect the right saved entry, and handle conflicts without losing your recovery copy.
Read guide : Git stash apply vs pop: restore before removingGit fundamentals · 3 min
Preserve tracked edits and selected new files with Git stash, verify the saved entry, and understand what ignored files remain outside it.
Read guide : Stash untracked files without overlooking ignored filesGit fundamentals · 3 min
Decode staged, unstaged, untracked, renamed, and conflicted files in Git’s short status output without confusing one state for another.
Read guide : Read the two columns in git status --shortGit fundamentals · 3 min
Understand why A..B and A...B mean different comparisons in git log and git diff, then choose the view that answers your question.
Read guide : Two dots vs three dots in Git log and diffGit fundamentals · 3 min
Understand Git versus GitHub, which operations work offline, and why a local commit does not automatically appear in your online repository.
Read guide : Git vs GitHub: what runs locally and what lives onlineGit fundamentals · 3 min
Learn how Git’s working tree, index, and HEAD differ, including why one file can contain both staged and unstaged changes at once.
Read guide : Understand Git’s working tree, index, and HEADGit fundamentals · 3 min
Understand anchored paths, directory patterns, and negation in .gitignore, then test rules before hiding files from normal status output.
Read guide : Write Git ignore patterns that match the intended files