/// <summary>
        /// Shows information about projects serialization settings, and a button that
        /// automatically sets the project serialization to match unity's recommendation when using
        /// git.
        /// </summary>
        private void SerializationSettings()
        {
            DrawTitle("Serialization Settings");
            if (gitSerializationAdded)
            {
                GUILayout.Label("Project Serialization Looks Good.");
                return;
            }

            EditorGUILayout.HelpBox(
                "The serialization for this project has not been setup correctly. Please consider fixing it.",
                MessageType.Error);

            if (GUILayout.Button("Fix Serialization"))
            {
                GitSerializationResolver.SetGitSerialization();
                gitSerializationAdded = true;
            }

            GUILayout.Space(Spacing);


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