Update overwrite last git commit with amend
Warning
git commit --amend
overwrites the history! Make sure no one else is working with your last commit.
This command soft-resets to the prelast commit on current branch and commits staged changes as new commit.