Simple wrapper to run any git command and process it's output using promises.