Get the number of staged files.
Total count of staged files
const count = await git.stagedFileCount() Copy
const count = await git.stagedFileCount()
getStagedFiles
0.2.0
Get the number of staged files.