fix-typo nano file.txt and fixing the typo then adding the file commit using git commit --amend -m "message" to change the last commit