git initgit init
Keywords: initialize, repository, new, create
git clonegit clone https://github.com/user/repo.git
Keywords: clone, download, remote, copy
git addgit add . && git add file.txt
Keywords: stage, add, changes, index
git commitgit commit -m "Add new feature"
Keywords: commit, save, message, snapshot
git pushgit push origin main
Keywords: push, upload, remote, publish
git pullgit pull origin main
Keywords: pull, download, merge, sync
git statusgit status
Keywords: status, changes, staged, untracked
git loggit log --oneline --graph -10
Keywords: log, history, commits, graph
git branchgit branch feature-branch
Keywords: branch, create, list, delete
git checkoutgit checkout -b new-feature
Keywords: checkout, switch, branch, restore
git mergegit merge feature-branch
Keywords: merge, combine, branches, integrate
git rebasegit rebase main
Keywords: rebase, replay, history, interactive
git stashgit stash && git stash pop
Keywords: stash, temporary, save, restore
git resetgit reset --hard HEAD~1
Keywords: reset, undo, commit, history
git diffgit diff HEAD~1..HEAD
Keywords: diff, differences, changes, compare
git fetchgit fetch origin
Keywords: fetch, download, remote, refs, safe
git remotegit remote add upstream https://github.com/original/repo.git
Keywords: remote, upstream, origin, connection
git taggit tag -a v1.0.0 -m 'Release version 1.0.0'
Keywords: tag, release, version, milestone
git cherry-pickgit cherry-pick abc123
Keywords: cherry-pick, selective, hotfix, commit
git revertgit revert HEAD
Keywords: revert, undo, safe, history
git cleangit clean -fd
Keywords: clean, untracked, remove, directory
git configgit config --global user.email 'you@example.com'
Keywords: config, settings, user, global, alias
git blamegit blame src/main.js
Keywords: blame, author, history, debug, tracking
git bisectgit bisect start && git bisect bad && git bisect good v1.0
Keywords: bisect, binary, search, bug, debug
git refloggit reflog
Keywords: reflog, recover, lost, commits, history
git worktreegit worktree add ../feature-branch feature-branch
Keywords: worktree, multiple, branches, simultaneous