use git plumbing for detecting dirty gems