code: def test_commmit_hash_sent_correctly(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()
  
imports: import os
  import platform
  import queue
  import subprocess
  import unittest.mock
  import pytest
  import wandb
  from wandb.sdk.interface.interface_queue import InterfaceQueue
  from wandb.sdk.internal import context
  from wandb.sdk.internal.sender import SendManager
  from wandb.sdk.internal.system.system_info import SystemInfo
label_desc: Use image node_id 11 for calling a global function with example usage: test_commmit_hash_sent_correctly(wandb_init, git_repo) without return types