<commit_before>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;

namespace GitHub.Unity
{
    [Serializable]
    public struct ConfigRemote
    {
        public static ConfigRemote Default = new ConfigRemote(String.Empty, String.Empty);

        public string name;
        public string url;

        public ConfigRemote(string name, string url)
        {
            this.name = name;
            this.url = url;
        }

        public string Name => name;

        public string Url => url;

        public override string ToString()
        {
            return $"{{Remote {Name} {Url}}}";
        }
    }

    [Serializable]
    public struct ConfigBranch
    {
        public static ConfigBranch Default = new ConfigBranch(String.Empty);

        public string name;
        public ConfigRemote remote;

        public ConfigBranch(string name)
        {
            this.name = name;
            remote = ConfigRemote.Default;
        }

        public ConfigBranch(string name, ConfigRemote? remote)
        {
            this.name = name;
            this.remote = remote ?? ConfigRemote.Default;
        }

        public bool IsTracking => !remote.Equals(ConfigRemote.Default);

        public string Name => name;

        public ConfigRemote? Remote => remote;

        public override string ToString()
        {
            return $"{{Branch {Name} {Remote?.ToString() ?? "Untracked"}}}";<commit_msg>Correctly returning null when the value is default<commit_after>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;

namespace GitHub.Unity
{
    [Serializable]
    public struct ConfigRemote
    {
        public static ConfigRemote Default = new ConfigRemote(String.Empty, String.Empty);

        public string name;
        public string url;

        public ConfigRemote(string name, string url)
        {
            this.name = name;
            this.url = url;
        }

        public string Name => name;

        public string Url => url;

        public override string ToString()
        {
            return $"{{Remote {Name} {Url}}}";
        }
    }

    [Serializable]
    public struct ConfigBranch
    {
        public static ConfigBranch Default = new ConfigBranch(String.Empty);

        public string name;
        public ConfigRemote remote;

        public ConfigBranch(string name)
        {
            this.name = name;
            remote = ConfigRemote.Default;
        }

        public ConfigBranch(string name, ConfigRemote? remote)
        {
            this.name = name;
            this.remote = remote ?? ConfigRemote.Default;
        }

        public bool IsTracking => Remote.HasValue;

        public string Name => name;

        public ConfigRemote? Remote => Equals(remote, ConfigRemote.Default) ? (ConfigRemote?) null : remote;

        public override string ToString()
        {
            return $"{{Branch {Name} {Remote?.ToString() ?? "Untracked"}}}";
{'fraction_non_alphanumeric': 0.08975195822454309, 'fraction_numerical': 0.0, 'mean_word_length': 2.065, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1662682', 'n_tokens_mistral': 784, 'n_tokens_neox': 764, 'n_words': 226}