how to commit a single file in git code example Example: commit only single file in git git commit [some files]