def METHOD_NAME(wandb_init, git_repo):
    # disable_git is False is by default
    # so run object should have git info
    run = wandb_init()
    assert run._commit is not None
    assert run._commit == git_repo.last_commit
    assert run._remote_url is None
    run.finish()