The golden rule of rebasing is to never rebase public branches. Rebasing changes commit history, which can confuse others if the branch is shared. The flow starts by checking out a local branch, rebasing it onto main, then checking if the branch is public. If it is public, stop rebasing to avoid rewriting shared history. If not, you can safely force push the rebased branch. The execution table shows each step, including checking branch state and whether rebase is allowed. Variable tracking shows the branch state changes from local to rebased and pushed. Key moments clarify why rebasing public branches is dangerous and what force push does. The visual quiz tests understanding of when to check branch status, branch state after pushing, and the correct action if the branch is public. Remember: only rebase local branches to keep history clean and avoid conflicts.