[git] git commit error: pathspec 'commit' did not match any file(s) known to git

The order line contentions are isolated by space. On the off chance that you need furnish a contention with a space in it, you should cite it. So use git commit - m "Initial commit". must follow this syntax.