public void ShouldExtractOldVersionOfDetachedHeadOutput()
 {
     Assert.True(DetachedHeadParser.TryParse("(detached from c299581)", out var sha1));
     Assert.AreEqual("c299581", sha1);
 }
 public void ShouldExtractNewVersionOfDetachedHeadOutput()
 {
     Assert.True(DetachedHeadParser.TryParse("(HEAD detached at c299582)", out var sha1));
     Assert.AreEqual("c299582", sha1);
 }