Check synchronously if a git repository needs to pull.
$ npm i git-needs-pullor
$ yarn add git-needs-pullconst needsPull = require('git-needs-pull');
needsPull(); // true or false of process.cwd()
needsPull('any/git/repo'); // true or falseMIT © Jan Peer Stöcklmair