Git without fear ยท in 6 steps

Git is a garden

Save every version of your work, try ideas without breaking anything, and bring it all together with your team.

Banner: Git is a garden โ€” clone, commit, branch, worktree, merge, and push without fear
In short

This free guide explains Git through the story of a gardener. Git is a tool that keeps every version of a project, like photos of a garden taken over time. It is useful for people who program, people who work with AI agents, and anyone who wants to stop losing files. Here you will learn six commands (clone, commit, branch, worktree, merge, and push), each with a drawing, a simple explanation, and commands ready to copy. To practice, you just need to have Git installed.

What it is

The gardener's dictionary

Before the commands, the metaphor. Each part of Git has a place in the garden โ€” keep this table handy and the rest is easy.

The six steps: clone, commit, branch, worktree, merge, and push

๐ŸŒฑ Garden = project

The whole project folder, with everything inside it.

๐ŸŒฟ Plants = files

Every file you create, edit, or delete.

๐Ÿ“ธ Photo = commit

A photo of the whole garden, with a date and a note saying what changed.

๐Ÿท๏ธ Label = branch

A name that points to a photo and moves along when you take new photos.

๐Ÿชด Flower bed = worktree

Another folder for the same project, so you can work on two things at the same time.

๐Ÿก Greenhouse = remote

The shared copy for the team, for example on GitHub.

Illustration: a garden seen from above, with flower beds, a board showing a garden photo, a label on a stake, and the greenhouse in the background
How it works

The gardener's 6 steps

This is the daily cycle: you clone once, then repeat commit, branch, merge, and push. Click a step to open its explanation.

1 ยท Cloneโ†’2 ยท Commitโ†’3 ยท Branchโ†’4 ยท Worktreeโ†’5 ยท Mergeโ†’6 ยท Push
Video

Watch the gardener's story

The full explainer video, with drawings and animated commands, plus a short reel to send to someone who needs it.

Full video (16:9, in Portuguese)

Download MP4

Reel (9:16, in Portuguese)

Download MP4

Cheat sheet

All the commands on one screen

Print it, save it, or keep it open next to the terminal.

git clone <url> gardenbring the project and its history to your computer
git statussee what changed and what is in the staging area
git add .put the changes in the staging area
git commit -m "frase"take the photo: save the version on your computer
git switch -c flowerscreate the flowers label and work on it
git worktree add ../garden-main mainopen another folder, on another branch
git merge flowersbring the flowers branch into the current branch
git push origin maintake your photos to the greenhouse
git fetchdownload the greenhouse's new history without joining it
git pulldownload and join it into your branch

Commit saves at home. Push shares with the team.

Illustration: the whole garden connected by a circular path, with the two gardeners waving

The daily cycle

Clone once. After that: commit often, branch for each idea, worktree when you need two things at once, merge to bring them together, and push to share.