git edit last pushed commit code example Example: change message from last pushed commit git commit --amend