To do this, you can reset you local git repository to the first commit hashtag, so all your changes after that commit will be unstaged, then you can commit with --amend option.
git reset your-first-commit-hashtag
git add .
git commit --amend
And then edit the first commit nam if needed and save file.