change the commit message before push code example Example: change message from last pushed commit git commit --amend