-
Notifications
You must be signed in to change notification settings - Fork 10
Git Terms
Daniel Shiffman edited this page Mar 30, 2026
·
2 revisions
- Repository (repo)
- Working directory
- Staging area (index)
- Commit
- History / commit history
- SHA / hash
- HEAD
- Snapshot (vs changes)
- Local vs remote
git initgit clonegit statusgit addgit commitgit loggit diff-
git restore/git checkout(file-level) git rmgit mv
- Branch
git branch-
git switch/git checkout - main branch
- Detached HEAD
- Fast-forward
- Merge
- Merge commit
- Merge conflict
git mergegit rebase- squash commits
- Cherry-pick
- Remote
- Origin
- Upstream
git remotegit fetchgit pullgit push
- Repository
- Fork
- Pull request (PR)
- Code review
- Issues
- Discussions
- stars / watchers
- GitHub Actions (CI/CD)
- README
- License
- Releases
- GitHub Pages
-
git reset(soft / mixed / hard) git revert- Amend (
git commit --amend) - Reflog
- Stash (
git stash) - Clean (
git clean)
- Tracked vs untracked files
.gitignore- Modified / staged / committed states
- DAG (directed acyclic graph)
- Commit graph
- Blobs, trees, commits (internals)
- Submodules
- Hooks
- Sparse checkout
- Worktrees
- Bisect (
git bisect) - Tagging (
git tag) - Annotated vs lightweight tags