Read a repo scenario and its goal, then pick the right git command: 4 levels of rebase vs merge, cherry-pick, reset and revert.
At the Tempuran every commit is a landing on an arm of the river, and every branch is a raft moored at its newest landing. HEAD is the raft Mr. Warno is riding. Making a branch copies no files: git only writes a new name pointing at the commit HEAD is on. Moving to another branch is the job of git switch, the command git recommends since version 2.23; the older git checkout works too, but it also handles files, so a mistyped name can be read as a file name. A repository's first branch is named at git init: git 2.50 still uses master unless init.defaultBranch says otherwise, and this repository was made with main.
A commit does not move HEAD on its own: git builds a new landing at the end of the arm, then moves the branch being ridden to it. HEAD follows because it points at that branch. Other branches stay where they are. Only the staging area is recorded. A changed file has to go there first with git add, or the commit can take every tracked file with -a. While a change is not recorded, git will not move to a branch that carries another version of that file: the change would be overwritten and lost.
git merge <branch> brings that branch into the branch HEAD is on. If the receiving branch has not moved since the other one parted, nothing has to meet: git just slides the raft to the other arm's end (a fast-forward) and no new commit appears. If both have landings of their own, git makes a merge commit with two parents: where the two arms meet, like the Tempuran. --no-ff forces a merge commit even when a fast-forward is possible.
An urgent fix is usually made on its own branch (a hotfix) from main, recorded, then merged back into main. Making a branch at the same commit changes no file, so a change not recorded yet comes along to the new branch. git checkout with a commit's hash (or a relative name like HEAD~1, one commit behind HEAD) puts HEAD right on that commit, with no branch: a detached HEAD. It is a place to look around; a commit made there is remembered by no branch. Going back to a branch is the same as any move between branches.
jadwal.txt. Record it as a commit on the raft subuh, then record Tuesday and Friday too and go back to the raft main, where the board is printed from.