Undo the last Git commit using the git reset command with options. Revert the last commit Git using git revert to add additional commit.
devconnected.com