def METHOD_NAME(self, environment):
    with neptune.init_run(
        git_ref=GitRef(repository_path="."),
        project=environment.project,
    ) as exp:
        # download sources
        exp.sync()
        assert exp.exists("source_code/git")
    with neptune.init_run(
        git_ref=True,
        project=environment.project,
    ) as exp:
        # download sources
        exp.sync()
        assert exp.exists("source_code/git")