OkayTeacher
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 SONUB 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 SONUB, reload the page, and use the bell to enable notifications.

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

All steps
Step 1

Why GIT, and your first setup

The end of naming files "final" and "final-real". Understand what GIT actually stores, and finish the one-time identity setup.

What you'll learn

  • You can explain in your own words why is needed
  • You know stores , not just
  • You have GIT installed and your name and email configured

You have probably made report_final.docx, report_final2.docx, report_really_final.docx. That approach collapses as files pile up: you can't tell which is newest or why anything changed. Once two people edit at the same time it's hopeless. GIT is the tool that solves exactly this.

A winding path through a game world with flag posts along the way, each flag holding a small snapshot card, and a character walking back toward an earlier flag.
Every is a save point. You can walk back to any flag at any time.

GIT records snapshots of the whole project in units called commits. People often assume it stores only diffs; internally it builds a snapshot of the full file state at that moment and simply reuses the previous copy of anything unchanged. That's why jumping back to any commit is instant, and comparing two points in time is fast.

Every commit carries who made it and when, so the first thing you do after installing GIT is set your name and email once. With --global it applies to every on this machine; if one project needs different details, run the same command inside that folder without --global. The email you enter stays in the forever, so for public repositories consider the no-reply address provides.

Understand it easily

Think of GIT as save points in a video game. Each commit is a save point with a short note, and you can go back to any of them at any time. Setting your name and email is like writing your name on the save file, so everyone knows who made each save.

Commands for this step

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

git --version
Check that it's installed and which you have. If you get an error instead of a version, install it first — on download it from git-scm.com, on run xcode-select --install in the terminal.
git config --global user.name "Hong Gildong"
Set the name that will appear on your commits — your real name or the handle you always use.
git config --global user.email "you@example.com"
The email on your commits. For public repositories prefer GitHub's no-reply address.
git config --list
List every current setting. When something behaves oddly, start here.

Common mistake and how to fix it

Committing with the wrong name or email because the first setup was skipped. Check with git config --list. If the last commit already has the wrong author, set the right values and run git commit --amend --reset-author --no-edit.

You mark this yourself. Nothing is graded here.

Mark this step as understood?

This cannot be undone yet, so mark it only when you really understand.

Marked as understood

You mark this yourself. Nothing is graded here.