Quick answer, this will add the file and commit message
git add path/to/filename && git commit -m "your commit message"