code: def test_git_clone_repo_codecommit_https_with_username_and_password(
      isfile, tempdir, mkdtemp, check_call
  ):
      git_config = {
          "repo": CODECOMMIT_REPO,
          "branch": CODECOMMIT_BRANCH,
          "username": "username",
          "password": "my-codecommit-password",
      }
      entry_point = "entry_point"
      env = os.environ.copy()
      env["GIT_TERMINAL_PROMPT"] = "0"
      ret = git_utils.git_clone_repo(
          git_config=git_config, entry_point=entry_point
      )
      check_call.assert_any_call(
          [
              "git",
              "clone",
              "https://username:my-codecommit-password@git-codecommit.us-west-2.amazonaws.com/v1/repos/test-repo/",
              REPO_DIR,
          ],
          env=env,
      )
      check_call.assert_any_call(
          args=["git", "checkout", CODECOMMIT_BRANCH], cwd=REPO_DIR
      )
      assert ret["entry_point"] == "/tmp/repo_dir/entry_point"
      assert ret["source_dir"] is None
      assert ret["dependencies"] is None
  
imports: from __future__ import absolute_import
  import pytest
  import os
  from pathlib import Path
  import subprocess
  from mock import patch, ANY
  from sagemaker import git_utils
label_desc: Use image node_id 19 for calling a global function with example usage: test_git_clone_repo_codecommit_https_with_username_and_password(isfile, tempdir, mkdtemp, check_call) without return types