Execute Git Command by Node.js How to use it var Git = require('git-command'); var git = new Git(YOUR_REPO_PATH); // For example, git log git.log().then(function(result){ }); DONE git status git log git ls-files git diff git clone git checkout TODO git show