def METHOD_NAME(settings, repo_git, locale_a):
    """Append the locale code the the project's checkout_path."""
    repo_git.url = "https://example.com/path/{locale_code}/"
    repo_git.save()
    assert repo_git.locale_checkout_path(locale_a) == (
        "%s/projects/%s/path/%s"
        % (
            settings.MEDIA_ROOT,
            repo_git.project.slug,
            locale_a.code,
        )
    )