A sudden conflict caused a catastrophe in which all the files in the portfolio site project were removed. As a rule, avoid touching the main branch whenever possible; create a new branch and work on the project there.
Let’s study Git Flow, the set of rules developers follow when making GitHub commits.