Glossary

Branch

A separate line of work in Git, so you can try changes without touching the main version.

In plain words

A branch is a parallel copy of your project's history where you can make changes safely. The main version usually lives on a branch called main. When you start something new, you create a branch, work there, and later merge it back.

Think of a draft. You copy an essay, try a new introduction on the copy, and only replace the original once you like the result.

git switch -c new-homepage

This creates a branch named new-homepage and moves you onto it.

See Branches without fear.

Found this useful?

Every lesson stays free. Tap the thumbs up so we know what works, or say thanks with a soda or a coffee: it pays for hosting and new lessons.

Buy me a sodaBuy me a coffee

Want more on this?

Tell us which part was not clear, ask for a follow-up lesson, or request a lesson on any topic. We read every request.

I would like
Only to tell you when it is ready.

WhatsApp

Join the channelChat with us

Free lessons and updates in the channel. Questions about learning or training? Chat with us.