/// <summary>
 /// Add a tag or branch to a FileInfo.
 /// </summary>
 public static FileInfo WithTag(this FileInfo file, string tagName, string revision)
 {
     file.AddTag(tagName, revision);
     return(file);
 }