Git References and HEAD
Understand Git refs, branches, tags, HEAD, detached HEAD, and object IDs across SHA-1 and SHA-256 formats for safer history recovery.
Understand Git refs, branches, tags, HEAD, detached HEAD, and object IDs across SHA-1 and SHA-256 formats for safer history recovery.
Recover commits after resets, rebases, or deleted branches with Git reflog. Learn how to preserve a candidate and why expiry or pruning can end local recovery.
Master release branching and hotfix strategies in Git. Learn version branches, emergency fixes, backporting, and how to manage multiple production versions safely.
Master git remote operations — adding, removing, renaming remotes, managing multiple remotes, and configuring remote URLs for effective collaboration.
Preventing secrets from entering repositories using pre-commit hooks, secret scanning tools, and automated detection. Protect API keys, tokens, and credentials from accidental commits.
Learn to sign Git commits with GPG or SSH keys, verify the signed object locally, and understand how hosting platforms decide whether to show a verification status.
Master git stash for saving uncommitted changes, named stashes, stash list management, and when to use stash vs commit in production workflows.
Understanding git status output, git diff options, comparing branches, and reading diffs effectively for version control and code review.
Master git submodules and subtrees for including external repositories. Learn the trade-offs, synchronization workflows, dependency management patterns, and when to use each approach.
Explain Git's three-state architecture with diagrams and practical examples — understand how files flow between working, staging, and committed states.