You have accidentaly put first.txt in the staging area
first.txt
While you actually want to only commit second.txt.
second.txt
You need to, from the current state, only commit second.txt.
git status