public static string HashWithGit(string filename)
        {
            string newHash = null;

            gitHelper.CommandOutputPipe(stdout => newHash = stdout.ReadLine().Trim(),
                                        "hash-object", "-w", filename);
            return(newHash);
        }