Get the current HEAD revision of a Git repo
MIT License
npm install git-rev-head
const head = require('git-rev-head') console.log(await head('./repo')) // prints deadbeef...
MIT