Git: Branching
Branches let you try ideas without touching main. Merge when the work is ready.
Example
git switch -c fix-title
git switch main
git merge fix-title
Your task
Write the commands to create feature, switch back to main and merge it.