code: def test_track_uncommitted_changes(
      mock_run, mock_file, mock_get_repo, mock_get_changes
  ):
      # given
      git_ref = GitRef()
  
      # when
      track_uncommitted_changes(git_ref, mock_run)
  
      # then
      assert mock_file.from_content.call_count == 2
      mock_get_repo.assert_called_once_with(git_ref)
      mock_get_changes.assert_called_once()
  
imports: import datetime
  import git
  from git import Repo
  from mock import MagicMock, patch
  from neptune.internal.utils.git import GitInfo, get_diff, get_relevant_upstream_commit, get_repo_from_git_ref, get_uncommitted_changes, get_upstream_index_sha, search_for_most_recent_ancestor, to_git_info, track_uncommitted_changes
  from neptune.types import GitRef
label_desc: Use image node_id 13 for calling a global function with example usage: test_track_uncommitted_changes(mock_run, mock_file, mock_get_repo, mock_get_changes) without return types