Modifying commits
You can modify the most recent commit in the same branch by running the git commit --amend command. This command is convenient for adding new or updated files to the previous commit. It is also a simple way to edit or add commit messages to the previous commit.
