git update commit message in history code example Example: change message from last pushed commit git commit --amend