how to add to an old commit code example
Example 1: git add file to last commit
git add the_left_out_file
git commit --amend --no-edit
Example 2: added changes to a specific commit
git add <my fixed files>
git commit --fixup=OLDCOMMIT
git rebase --interactive --autosquash OLDCOMMIT^