Rebasing, Reset & Revert
git rebase
Reapplies commits on top of another base commit for a cleaner history.
git reset
Moves branch pointers and can modify history.
git revert
Creates a new commit that undoes previous changes safely.
Rebasing is useful for maintaining linear history but should be avoided on shared branches.