A place to start
Work safely in the terminal
Small command-line decisions can preserve hours of work. Learn which Git command inspects history, which changes the working tree, and which discards data. Pair those recovery recipes with quoted variables, NUL-delimited file paths, and a preview before bulk changes.