Git playground
Choose a typical use case or try your own:
init
add
edit
rename
delete
status
log
show
grep
branch
merge
rebase
squash
cherry-pick
push
pull
conflict
push:branch
fetch
tag
amend
undo:local
undo:commit
undo:remote
reflog
stash
shortlog
worktree
bisect
sparse-checkout
# Create an empty repo: git init # Set user name and email for the repo # (they are required): git config user.email alice@example.com git config user.name "Alice Zakas" # Use the --global flag to set the name and email # at the OS user level instead of the repo level. # Show user and repo configs: git config --list --show-origin
Git is a distributed version control system designed to handle everything from small to very large projects with speed and efficiency.