grunt-get-branchname (npm): Get the current Git branch name and pass it to another task's config
Keywords: gruntplugin