You can reset the staging area in a few ways:
Reset HEAD and add all necessary files to check-in again as below:
git reset HEAD ---> removes all files from the staging area
git add <files, that are required to be committed>
git commit -m "<commit message>"
git push