code: def test_manual_git_run_metadata_from_settings(
      relay_server,
      wandb_init,
  ):
      remote_url = "git@github.com:me/my-repo.git"
      commit = "29c15e893e36efad84001f4484b4813fbacd55a0"
      with relay_server() as relay:
          run = wandb_init(
              settings={
                  "git_remote_url": remote_url,
                  "git_commit": commit,
              },
          )
          run.finish()
  
          run_attrs = relay.context.get_run_attrs(run.id)
          assert run_attrs.remote == remote_url
          assert run_attrs.commit == commit
  
file_path: wandb/tests/pytest_tests/system_tests/test_core/test_wandb_settings.py
imports: import os
  import platform
  from unittest import mock
  import git
  import pytest
  from wandb import env
  from wandb.sdk import wandb_settings
label_desc: Use image node_id 9 for calling a global function with example usage: test_manual_git_run_metadata_from_settings(relay_server, wandb_init) without return types