how to change commit message in git using commit id code example Example: change message from last pushed commit git commit --amend