Yup I have to agree with that.

One potential way to make it a bit cleaner would be to remove this whole line and have something like GitTask.prototype.sendToQueue = function() { send to queue in here instead }, which would have to be called at the end of each git command like: git().sendToQueue().

No need to fix that in this commit though