alright, so you are here because you want to remove a spefic file from your git commit, its very easy to do.

just send this git command:
git rm -f /path/to/file/filename.txt


thats it, the -f option means to force

hope that helps