commandline git How to Undo the Last Git Commit (Reset, Revert or Amend) November 6, 2026 — Jonathan Mitchell