def METHOD_NAME(self):
    tracer = ddtrace.Tracer()
    tracer.configure(writer=DummyWriter())
    with tracer.trace("span") as s:
        pass
    # must be from env variables
    assert s.get_tag("_dd.git.commit.sha") == "123456"
    assert s.get_tag("_dd.git.repository_url") == "github.com/user/env_repo"
    # must be not present in old tags
    assert s.get_tag("dd.git.repository_url") is None
    assert s.get_tag("dd.git.commit.sha") is None