computer
Git & GitHub
Git and GitHub from repositories and commits to branches, merges, remotes and collaboration.
REFERENCE Β· 27 ITEMS
Git & GitHub
Version control from init/clone through branches, merges and collaboration.
27 items across 4 sections
COMPLETE COURSE
Git & GitHub β Learning Path
Start with the concept, study each lesson, copy and adapt the example, complete the practice task, then use the troubleshooting and safety notes before moving forward.
Module 01 β Basics
What you learn: Repository, working tree, staging, commit, history.
Module 02 β Core
What you learn: init, clone, status, add, commit, diff, log, restore, reset.
Module 03 β Branches
What you learn: branch, switch, merge, rebase, stash, tag, conflicts.
Module 04 β Remote
What you learn: remote, fetch, pull, push, pull requests, .gitignore.
SECTION
Basics
Repository, working tree, staging, commit, history
Repository
Repository: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. Git & GitHub: understand working tree, index, commits, refs and remotes. Inspect status/diff before history-changing commands and verify remote state after synchronization. Study Repository in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
Repositoryworking tree
working tree: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. Git & GitHub: understand working tree, index, commits, refs and remotes. Inspect status/diff before history-changing commands and verify remote state after synchronization. Study working tree in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
working treestaging
staging: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. Git & GitHub: understand working tree, index, commits, refs and remotes. Inspect status/diff before history-changing commands and verify remote state after synchronization. Study staging in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
stagingcommit
commit: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. Git & GitHub: understand working tree, index, commits, refs and remotes. Inspect status/diff before history-changing commands and verify remote state after synchronization. Study commit in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
commithistory
history: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. Git & GitHub: understand working tree, index, commits, refs and remotes. Inspect status/diff before history-changing commands and verify remote state after synchronization. Study history in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
historySECTION
Core
init, clone, status, add, commit, diff, log, restore, reset
init
init: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. Git & GitHub: understand working tree, index, commits, refs and remotes. Inspect status/diff before history-changing commands and verify remote state after synchronization. Study init in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
initclone
clone: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. Git & GitHub: understand working tree, index, commits, refs and remotes. Inspect status/diff before history-changing commands and verify remote state after synchronization. Study clone in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
clonestatus
status: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. Git & GitHub: understand working tree, index, commits, refs and remotes. Inspect status/diff before history-changing commands and verify remote state after synchronization. Study status in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
statusadd
add: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. Git & GitHub: understand working tree, index, commits, refs and remotes. Inspect status/diff before history-changing commands and verify remote state after synchronization. Study add in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
addcommit
commit: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. Git & GitHub: understand working tree, index, commits, refs and remotes. Inspect status/diff before history-changing commands and verify remote state after synchronization. Study commit in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
commitdiff
diff: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. Git & GitHub: understand working tree, index, commits, refs and remotes. Inspect status/diff before history-changing commands and verify remote state after synchronization. Study diff in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
difflog
log: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. Git & GitHub: understand working tree, index, commits, refs and remotes. Inspect status/diff before history-changing commands and verify remote state after synchronization. Study log in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
logrestore
restore: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. Git & GitHub: understand working tree, index, commits, refs and remotes. Inspect status/diff before history-changing commands and verify remote state after synchronization. Study restore in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
restorereset
reset: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. Git & GitHub: understand working tree, index, commits, refs and remotes. Inspect status/diff before history-changing commands and verify remote state after synchronization. Study reset in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
resetSECTION
Branches
branch, switch, merge, rebase, stash, tag, conflicts
branch
branch: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. Git & GitHub: understand working tree, index, commits, refs and remotes. Inspect status/diff before history-changing commands and verify remote state after synchronization. Study branch in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
branchswitch
switch: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. Git & GitHub: understand working tree, index, commits, refs and remotes. Inspect status/diff before history-changing commands and verify remote state after synchronization. Study switch in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
switchmerge
merge: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. Git & GitHub: understand working tree, index, commits, refs and remotes. Inspect status/diff before history-changing commands and verify remote state after synchronization. Study merge in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
mergerebase
rebase: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. Git & GitHub: understand working tree, index, commits, refs and remotes. Inspect status/diff before history-changing commands and verify remote state after synchronization. Study rebase in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
rebasestash
stash: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. Git & GitHub: understand working tree, index, commits, refs and remotes. Inspect status/diff before history-changing commands and verify remote state after synchronization. Study stash in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
stashtag
tag: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. Git & GitHub: understand working tree, index, commits, refs and remotes. Inspect status/diff before history-changing commands and verify remote state after synchronization. Study tag in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
tagconflicts
conflicts: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. Git & GitHub: understand working tree, index, commits, refs and remotes. Inspect status/diff before history-changing commands and verify remote state after synchronization. Study conflicts in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
conflictsSECTION
Remote
remote, fetch, pull, push, pull requests, .gitignore
remote
remote: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. Git & GitHub: understand working tree, index, commits, refs and remotes. Inspect status/diff before history-changing commands and verify remote state after synchronization. Study remote in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
remotefetch
fetch: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. Git & GitHub: understand working tree, index, commits, refs and remotes. Inspect status/diff before history-changing commands and verify remote state after synchronization. Study fetch in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
fetchpull
pull: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. Git & GitHub: understand working tree, index, commits, refs and remotes. Inspect status/diff before history-changing commands and verify remote state after synchronization. Study pull in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
pullpush
push: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. Git & GitHub: understand working tree, index, commits, refs and remotes. Inspect status/diff before history-changing commands and verify remote state after synchronization. Study push in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
pushpull requests
pull requests: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. Git & GitHub: understand working tree, index, commits, refs and remotes. Inspect status/diff before history-changing commands and verify remote state after synchronization. Study pull requests in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
pull requests.gitignore
Git topic .gitignore: understand the repository state, working tree, index, commit history and remote state involved. Inspect status and diffs before commits or pushes, and treat reset/rebase operations as history-changing workflows that require extra care. Git & GitHub: understand working tree, index, commits, refs and remotes. Inspect status/diff before history-changing commands and verify remote state after synchronization. Study .gitignore in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
.gitignore