how to add a commit in the last commit code example Example: add change to last commit $ (some_branch) git commit --amend