PES
EN English 한국어 日本語 中文 हिन्दी বাংলা اردو Español Português Français Deutsch Русский العربية Bahasa Indonesia Tiếng Việt ไทย Türkçe

How to enable notifications

Notifications are unavailable in this browser or on this address. Try a supported browser on the secure PES site.

If notifications are blocked, allow them in your browser settings.

  1. Open the site controls beside the address bar, or your browser’s site settings. Set Notifications for this site to Allow.
  2. In your device settings, allow notifications for your browser and check Do Not Disturb or Focus.
  3. Return to PES, reload the page, and use the bell to enable notifications.

On iPhone or iPad, add PES to your Home Screen, open it there, then allow notifications.

My learning progress
  1. How to use AI
  2. Terminal commands
  3. Advanced AI
  4. Vibe coding
  5. AI certification Getting ready
  6. Keyboard
See details
All steps
Step 5

Branching and merging

Split work off and bring it back later. Once you grasp how cheap a branch is, the way you use GIT changes.

What you'll learn

  • You can isolate work on its own branch
  • You can merge and resolve a conflict yourself
  • You know branch naming conventions and the basic strategy

A branch is nothing more than a label pointing at a commit. It doesn't copy files, so creating and deleting one costs almost nothing. That's why in GIT it's normal to open a branch per feature and per bug. git switch -c <name> creates one and moves you onto it in the same step; when the work is done you come back and merge.

You merge with git merge. If the two branches touched different files, GIT combines them for you. If they changed the same lines of the same file differently, GIT refuses to guess: it marks a conflict and stops. A conflict is not an error — it's GIT saying "a human has to decide this one".

In a conflict the file gains <<<<<<<, =======, and >>>>>>> markers. Above is your current branch, below is what's coming in. Pick one side or combine both into correct code, delete every marker line, then git add and commit to finish the merge. Prefixing branch names with the purpose — feature/, fix/, chore/ — lets the branch list alone tell you what's going on.

Commands for this step

Don't just read them — type them into a real terminal. Your hands have to remember, not your eyes.

git switch -c feature/login
Create a branch and switch to it in one step.
git switch main
Go back to the branch you want to merge into.
git merge feature/login
Merge the finished branch in. On conflict, GIT stops and asks you to decide.
git branch -d feature/login
Delete a merged branch. Cleaning up keeps the list readable.

Guidelines

AI

AI Certification

Study

Vibe Coding

Game

Practice

Tutors

Chat

Forum

Create

Community

More

Glossary

Pick a word you don't know. You'll see a simple explanation and related terms.

No matching term yet.

Pick a term to see its explanation.