async def METHOD_NAME(config, task, mocker):
    repo_mock = MagicMock()
    RepoClassMock = MagicMock()
    RepoClassMock.return_value = repo_mock
    mocker.patch.object(git, "Repo", RepoClassMock)
    await git.commit(config, config["work_dir"], "some commit message")
    RepoClassMock.assert_called_once_with(config["work_dir"])
    repo_mock.git.add.assert_called_once_with(all=True)
    repo_mock.index.commit.assert_called_once_with(
        "some commit message",
        author=Actor("Mozilla Releng Treescript", "some-author@email.address"),
        committer=Actor("Mozilla Releng Treescript", "some-author@email.address"),
    )