-
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 diffgit restoregit rmgit mv
- Branch
git branchgit switch- main branch
- Detached HEAD
- Fast-forward
- Merge
- Merge commit
- Merge conflict
git mergegit rebase- squash
- 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