Process Flow - Difference between reset and revert
Start: Commit History
Choose action
reset
Move HEAD
Change branch state
Discard or keep changes
This flow shows how git reset moves the branch pointer to an earlier commit, changing history, while git revert creates a new commit that undoes changes, preserving history.