public void GitData_Repository_Ctor()
 {
     var gitRepository = new GitData_Repository();
     var config        = gitRepository.Config;
     Assert.IsNotNull (gitRepository);
     Assert.IsNotNull (config);
     Assert.IsNull    (config.LocalPath);
     Assert.Greater   (0,config.Max_CommitsToShow);
     Assert.Greater   (0,config.Max_FilesToShow);
     Assert.IsNotNull(gitRepository.Files);
     Assert.IsEmpty  (gitRepository.Files);
     Assert.IsNotNull(gitRepository.HEAD);
     Assert.AreEqual (gitRepository.HEAD, NGit_Consts.EMPTY_SHA1);
     Assert.IsNotNull(gitRepository.Commits);
     Assert.IsEmpty  (gitRepository.Commits);
 }
        public static GitData_Repository gitData_Repository(this API_NGit nGit, bool loadData = true)
        {
            if (nGit.isGitRepository())
            {
                var gitData_Repository = new GitData_Repository
                    {
                        Config =
                            {
                                LocalPath = nGit.Path_Local_Repository
                            },
                        nGit = nGit

                    };
                if (loadData)
                    gitData_Repository.loadData();
                return gitData_Repository;
            }
            return null;
        }