I have committed a change and forgot to add a file to the change set. After other commits, I realized the file is now missing from a HEAD^4 commit.
HEAD^4
How do I
Use git rebase --interactive HEAD~4 and set edit option for the commit you'd like to amend.
edit
Remember that you should not modify commits pushed to the remote repository this way. It's better to add a new commit with missing file in that case.