DevelopmentSamplesGit: avoid ‘reset --hard’, use ‘reset --keep’ insteadThe safe way to undo commits in a Git repository.by Adam Johnson