public CommitView(GitViewModel gitViewModel, IList selectedFiles)
 {
     var commitViewModel = new CommitViewModel();
     commitViewModel._gitViewModel = gitViewModel;
     commitViewModel._selectedFiles = selectedFiles;
     commitViewModel.CloseAction = () =>
     {
         this.Close();
     };
     this.DataContext = commitViewModel;
     InitializeComponent();
 }