/// <summary>
        /// Displays information about git-hooks found in the project and
        /// a button that adds the recommended git-hooks to the .git folder.
        /// </summary>
        private void GitHookSettings()
        {
            DrawTitle("Git Hook Settings");
            if (gitHooksAdded)
            {
                GUILayout.Label("Git hooks already exist.");
                return;
            }

            if (GUILayout.Button("Add Git Hooks"))
            {
                GitHookResolver.MoveGitHooksToFolder();
                gitHooksAdded = true;
            }

            GUILayout.Space(Spacing);

            DrawGitHooksHelpBox();
        }
 private void OnFocus()
 {
     gitSerializationAdded = GitSerializationResolver.CheckGitSerialization();
     gitHooksAdded         = GitHookResolver.CheckGitHooks();
 }