diff --git a/pre_commit/commands/run.py b/pre_commit/commands/run.py
index c70eff0..3a08c8d 100644
--- a/pre_commit/commands/run.py
+++ b/pre_commit/commands/run.py
@@ -223,8 +223,8 @@ def run(runner, args, environ=os.environ):
         return 1
     if _has_unstaged_config(runner) and not no_stash:
         logger.error(
-            'Your pre-commit configuration is unstaged.\n'
-            '`git add {}` to fix this.'.format(runner.config_file),
+            'Your .pre-commit-config.yaml is unstaged.\n'
+            '`git add .pre-commit-config.yaml` to fix this.',
         )
         return 1
 
diff --git a/pre_commit/main.py b/pre_commit/main.py
index 865571a..4c9202a 100644
--- a/pre_commit/main.py
+++ b/pre_commit/main.py
@@ -42,7 +42,7 @@ def _add_color_option(parser):
 
 def _add_config_option(parser):
     parser.add_argument(
-        '-c', '--config', default=C.CONFIG_FILE,
+        '-c', '--config', default='.pre-commit-config.yaml',
         help='Path to alternate config file',
     )
 
diff --git a/pre_commit/repository.py b/pre_commit/repository.py
index 5c11921..bc0ecad 100644
--- a/pre_commit/repository.py
+++ b/pre_commit/repository.py
@@ -269,14 +269,14 @@ class MetaRepository(LocalRepository):
             {
                 'id': 'check-hooks-apply',
                 'name': 'Check hooks apply to the repository',
-                'files': C.CONFIG_FILE,
+                'files': '.pre-commit-config.yaml',
                 'language': 'system',
                 'entry': _make_entry(check_hooks_apply),
             },
             {
                 'id': 'check-useless-excludes',
                 'name': 'Check for useless excludes',
-                'files': C.CONFIG_FILE,
+                'files': '.pre-commit-config.yaml',
                 'language': 'system',
                 'entry': _make_entry(check_useless_excludes),
             },
diff --git a/pre_commit/store.py b/pre_commit/store.py
index 3262bda..9c67345 100644
--- a/pre_commit/store.py
+++ b/pre_commit/store.py
@@ -156,6 +156,21 @@ class Store(object):
     def make_local(self, deps):
         def make_local_strategy(directory):
             copy_tree_to_path(resource_filename('empty_template'), directory)
+
+            env = no_git_env()
+            name, email = 'pre-commit', 'asottile+pre-commit@umich.edu'
+            env['GIT_AUTHOR_NAME'] = env['GIT_COMMITTER_NAME'] = name
+            env['GIT_AUTHOR_EMAIL'] = env['GIT_COMMITTER_EMAIL'] = email
+
+            # initialize the git repository so it looks more like cloned repos
+            def _git_cmd(*args):
+                cmd_output('git', '-C', directory, *args, env=env)
+
+            _git_cmd('init', '.')
+            _git_cmd('config', 'remote.origin.url', '<<unknown>>')
+            _git_cmd('add', '.')
+            _git_cmd('commit', '--no-edit', '--no-gpg-sign', '-n', '-minit')
+
         return self._new_repo(
             'local:{}'.format(','.join(sorted(deps))), C.LOCAL_REPO_VERSION,
             make_local_strategy,

Crash on `local`-only `golang` repositories
While investigating: https://github.com/pre-commit/pre-commit-hooks/issues/255

Using this configuration:

```yaml
repos:
-   repo: local
    hooks:
    -   id: talisman
        name: talisman
        entry: talisman -githook pre-commit
        pass_filenames: false
        types: [text]
        language: golang
        additional_dependencies: [github.com/thoughtworks/talisman]
```

```
$ pre-commit run --all-files
[INFO] Initializing environment for local:github.com/thoughtworks/talisman.
[INFO] Installing environment for local.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
An unexpected error has occurred: CalledProcessError: Command: ('/usr/bin/git', 'config', 'remote.origin.url')
Return code: 1
Expected return code: 0
Output: (none)
Errors: (none)

Check the log at /home/asottile/.cache/pre-commit/pre-commit.log
```

```
An unexpected error has occurred: CalledProcessError: Command: ('/usr/bin/git', 'config', 'remote.origin.url')
Return code: 1
Expected return code: 0
Output: (none)
Errors: (none)

Traceback (most recent call last):
  File "/tmp/wat/venv/local/lib/python2.7/site-packages/pre_commit/error_handler.py", line 47, in error_handler
    yield
  File "/tmp/wat/venv/local/lib/python2.7/site-packages/pre_commit/main.py", line 259, in main
    return run(runner, args)
  File "/tmp/wat/venv/local/lib/python2.7/site-packages/pre_commit/commands/run.py", line 256, in run
    repo.require_installed()
  File "/tmp/wat/venv/local/lib/python2.7/site-packages/pre_commit/repository.py", line 202, in require_installed
    _install_all(self._venvs, self.repo_config['repo'], self.store)
  File "/tmp/wat/venv/local/lib/python2.7/site-packages/pre_commit/repository.py", line 102, in _install_all
    language.install_environment(cmd_runner, version, deps)
  File "/tmp/wat/venv/local/lib/python2.7/site-packages/pre_commit/languages/golang.py", line 60, in install_environment
    remote = git.get_remote_url(repo_cmd_runner.path())
  File "/tmp/wat/venv/local/lib/python2.7/site-packages/pre_commit/git.py", line 41, in get_remote_url
    ret = cmd_output('git', 'config', 'remote.origin.url', cwd=git_root)[1]
  File "/tmp/wat/venv/local/lib/python2.7/site-packages/pre_commit/util.py", line 188, in cmd_output
    returncode, cmd, retcode, output=(stdout, stderr),
CalledProcessError: Command: ('/usr/bin/git', 'config', 'remote.origin.url')
Return code: 1
Expected return code: 0
Output: (none)
Errors: (none)
```
diff --git a/testing/fixtures.py b/testing/fixtures.py
index edb1bcd..b1c7a89 100644
--- a/testing/fixtures.py
+++ b/testing/fixtures.py
@@ -47,7 +47,7 @@ def modify_manifest(path):
     with io.open(manifest_path, 'w') as manifest_file:
         manifest_file.write(ordered_dump(manifest, **C.YAML_DUMP_KWARGS))
     cmd_output(
-        'git', 'commit', '-am', 'update {}'.format(C.MANIFEST_FILE), cwd=path,
+        'git', 'commit', '-am', 'update .pre-commit-hooks.yaml', cwd=path,
     )
 
 
diff --git a/tests/commands/run_test.py b/tests/commands/run_test.py
index 97c82c2..336222d 100644
--- a/tests/commands/run_test.py
+++ b/tests/commands/run_test.py
@@ -683,7 +683,7 @@ def test_error_with_unstaged_config(
 ):
     args = run_opts()
     ret, printed = _do_run(cap_out, modified_config_repo, args)
-    assert b'Your pre-commit configuration is unstaged.' in printed
+    assert b'Your .pre-commit-config.yaml is unstaged.' in printed
     assert ret == 1
 
 
@@ -695,7 +695,7 @@ def test_no_unstaged_error_with_all_files_or_files(
 ):
     args = run_opts(**opts)
     ret, printed = _do_run(cap_out, modified_config_repo, args)
-    assert b'Your pre-commit configuration is unstaged.' not in printed
+    assert b'Your .pre-commit-config.yaml is unstaged.' not in printed
 
 
 def test_files_running_subdir(
diff --git a/tests/repository_test.py b/tests/repository_test.py
index 2b9ab6e..1d38d24 100644
--- a/tests/repository_test.py
+++ b/tests/repository_test.py
@@ -541,6 +541,24 @@ def test_additional_golang_dependencies_installed(
     assert 'hello' in binaries
 
 
+def test_local_golang_additional_dependencies(store):
+    config = {
+        'repo': 'local',
+        'hooks': [{
+            'id': 'hello',
+            'name': 'hello',
+            'entry': 'hello',
+            'language': 'golang',
+            'additional_dependencies': ['github.com/golang/example/hello'],
+        }],
+    }
+    repo = Repository.create(config, store)
+    (_, hook), = repo.hooks
+    ret = repo.run_hook(hook, ('filename',))
+    assert ret[0] == 0
+    assert _norm_out(ret[1]) == b"Hello, Go examples!\n"
+
+
 def test_reinstall(tempdir_factory, store, log_info_mock):
     path = make_repo(tempdir_factory, 'python_hooks_repo')
     config = make_config_from_repo(path)

pip install -e .
parse_log_pytest
requirements.txt
pytest
3.6
requirements-dev.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
aspy.yaml==1.3.0
attrs==22.2.0
cached-property==1.5.2
certifi==2021.5.30
coverage==6.2
distlib==0.3.9
filelock==3.4.1
flake8==5.0.4
identify==2.4.4
importlib-metadata==4.8.3
importlib-resources==5.4.0
iniconfig==1.1.1
mccabe==0.7.0
mock==5.2.0
nodeenv==1.6.0
packaging==21.3
platformdirs==2.4.0
pluggy==1.0.0
-e git+https://github.com/pre-commit/pre-commit.git@0628df535b47ee503efbda2b777254f1d7b7f4bc#egg=pre_commit
py==1.11.0
pycodestyle==2.9.1
pyflakes==2.5.0
pyparsing==3.1.4
pytest==7.0.1
pytest-env==0.6.2
PyYAML==6.0.1
six==1.17.0
tomli==1.2.3
typing_extensions==4.1.1
virtualenv==20.17.1
zipp==3.6.0

name: pre-commit
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2021.5.30=py36h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.3=he6710b0_2
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - pip=21.2.2=py36h06a4308_0
  - python=3.6.13=h12debd9_1
  - readline=8.2=h5eee18b_0
  - setuptools=58.0.4=py36h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - wheel=0.37.1=pyhd3eb1b0_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - aspy-yaml==1.3.0
      - attrs==22.2.0
      - cached-property==1.5.2
      - coverage==6.2
      - distlib==0.3.9
      - filelock==3.4.1
      - flake8==5.0.4
      - identify==2.4.4
      - importlib-metadata==4.8.3
      - importlib-resources==5.4.0
      - iniconfig==1.1.1
      - mccabe==0.7.0
      - mock==5.2.0
      - nodeenv==1.6.0
      - packaging==21.3
      - platformdirs==2.4.0
      - pluggy==1.0.0
      - py==1.11.0
      - pycodestyle==2.9.1
      - pyflakes==2.5.0
      - pyparsing==3.1.4
      - pytest==7.0.1
      - pytest-env==0.6.2
      - pyyaml==6.0.1
      - six==1.17.0
      - tomli==1.2.3
      - typing-extensions==4.1.1
      - virtualenv==20.17.1
      - zipp==3.6.0
prefix: /opt/conda/envs/pre-commit

tests/commands/run_test.py::test_error_with_unstaged_config
tests/commands/run_test.py::test_hook_install_failure tests/repository_test.py::test_switch_language_versions_doesnt_clobber tests/repository_test.py::test_run_a_ruby_hook tests/repository_test.py::test_run_versioned_ruby_hook tests/repository_test.py::test_run_ruby_hook_with_disable_shared_gems tests/repository_test.py::test_golang_hook tests/repository_test.py::test_additional_ruby_dependencies_installed tests/repository_test.py::test_additional_golang_dependencies_installed tests/repository_test.py::test_local_golang_additional_dependencies
tests/commands/run_test.py::test_run_all_hooks_failing tests/commands/run_test.py::test_arbitrary_bytes_hook tests/commands/run_test.py::test_hook_that_modifies_but_returns_zero tests/commands/run_test.py::test_types_hook_repository tests/commands/run_test.py::test_exclude_types_hook_repository tests/commands/run_test.py::test_global_exclude tests/commands/run_test.py::test_show_diff_on_failure tests/commands/run_test.py::test_run[options0-outputs0-0-True] tests/commands/run_test.py::test_run[options1-outputs1-0-True] tests/commands/run_test.py::test_run[options2-outputs2-0-True] tests/commands/run_test.py::test_run[options3-outputs3-1-True] tests/commands/run_test.py::test_run[options4-outputs4-0-True] tests/commands/run_test.py::test_run[options5-outputs5-0-True] tests/commands/run_test.py::test_run[options6-outputs6-0-False] tests/commands/run_test.py::test_run_output_logfile tests/commands/run_test.py::test_always_run tests/commands/run_test.py::test_always_run_alt_config tests/commands/run_test.py::test_origin_source_error_msg[master-master-False] tests/commands/run_test.py::test_origin_source_error_msg[master--True] tests/commands/run_test.py::test_origin_source_error_msg[-master-True] tests/commands/run_test.py::test_has_unmerged_paths tests/commands/run_test.py::test_merge_conflict tests/commands/run_test.py::test_merge_conflict_modified tests/commands/run_test.py::test_merge_conflict_resolved tests/commands/run_test.py::test_compute_cols[hooks0-True-80] tests/commands/run_test.py::test_compute_cols[hooks1-False-81] tests/commands/run_test.py::test_compute_cols[hooks2-True-85] tests/commands/run_test.py::test_compute_cols[hooks3-False-82] tests/commands/run_test.py::test_get_skips[environ0-expected_output0] tests/commands/run_test.py::test_get_skips[environ1-expected_output1] tests/commands/run_test.py::test_get_skips[environ2-expected_output2] tests/commands/run_test.py::test_get_skips[environ3-expected_output3] tests/commands/run_test.py::test_get_skips[environ4-expected_output4] tests/commands/run_test.py::test_get_skips[environ5-expected_output5] tests/commands/run_test.py::test_get_skips[environ6-expected_output6] tests/commands/run_test.py::test_skip_hook tests/commands/run_test.py::test_hook_id_not_in_non_verbose_output tests/commands/run_test.py::test_hook_id_in_verbose_output tests/commands/run_test.py::test_multiple_hooks_same_id tests/commands/run_test.py::test_non_ascii_hook_id tests/commands/run_test.py::test_stdout_write_bug_py26 tests/commands/run_test.py::test_lots_of_files tests/commands/run_test.py::test_push_hook tests/commands/run_test.py::test_commit_msg_hook tests/commands/run_test.py::test_local_hook_passes tests/commands/run_test.py::test_local_hook_fails tests/commands/run_test.py::test_meta_hook_passes tests/commands/run_test.py::test_no_unstaged_error_with_all_files_or_files[opts0] tests/commands/run_test.py::test_no_unstaged_error_with_all_files_or_files[opts1] tests/commands/run_test.py::test_files_running_subdir tests/commands/run_test.py::test_pass_filenames[True-hook_args0-foo.py] tests/commands/run_test.py::test_pass_filenames[False-hook_args1-] tests/commands/run_test.py::test_pass_filenames[True-hook_args2-some tests/commands/run_test.py::test_pass_filenames[False-hook_args3-some tests/commands/run_test.py::test_fail_fast tests/commands/run_test.py::test_include_exclude_base_case tests/commands/run_test.py::test_matches_broken_symlink tests/commands/run_test.py::test_include_exclude_total_match tests/commands/run_test.py::test_include_exclude_does_search_instead_of_match tests/commands/run_test.py::test_include_exclude_exclude_removes_files tests/repository_test.py::test_python_hook tests/repository_test.py::test_python_hook_default_version tests/repository_test.py::test_python_hook_args_with_spaces tests/repository_test.py::test_python_hook_weird_setup_cfg tests/repository_test.py::test_versioned_python_hook tests/repository_test.py::test_run_a_node_hook tests/repository_test.py::test_run_versioned_node_hook tests/repository_test.py::test_system_hook_with_spaces tests/repository_test.py::test_missing_executable tests/repository_test.py::test_run_a_script_hook tests/repository_test.py::test_run_hook_with_spaced_args tests/repository_test.py::test_run_hook_with_curly_braced_arguments tests/repository_test.py::TestPygrep::test_grep_hook_matching tests/repository_test.py::TestPygrep::test_grep_hook_case_insensitive tests/repository_test.py::TestPygrep::test_grep_hook_not_matching[nope] tests/repository_test.py::TestPygrep::test_grep_hook_not_matching[foo'bar] tests/repository_test.py::TestPygrep::test_grep_hook_not_matching[^\\[INFO\\]] tests/repository_test.py::TestPCRE::test_grep_hook_matching tests/repository_test.py::TestPCRE::test_grep_hook_case_insensitive tests/repository_test.py::TestPCRE::test_grep_hook_not_matching[nope] tests/repository_test.py::TestPCRE::test_grep_hook_not_matching[foo'bar] tests/repository_test.py::TestPCRE::test_grep_hook_not_matching[^\\[INFO\\]] tests/repository_test.py::TestPCRE::test_pcre_hook_many_files tests/repository_test.py::TestPCRE::test_missing_pcre_support tests/repository_test.py::test_cwd_of_hook tests/repository_test.py::test_lots_of_files tests/repository_test.py::test_venvs tests/repository_test.py::test_additional_dependencies tests/repository_test.py::test_additional_dependencies_duplicated tests/repository_test.py::test_additional_python_dependencies_installed tests/repository_test.py::test_additional_dependencies_roll_forward tests/repository_test.py::test_additional_node_dependencies_installed tests/repository_test.py::test_reinstall tests/repository_test.py::test_control_c_control_c_on_install tests/repository_test.py::test_invalidated_virtualenv tests/repository_test.py::test_really_long_file_paths tests/repository_test.py::test_config_overrides_repo_specifics tests/repository_test.py::test_tags_on_repositories tests/repository_test.py::test_local_repository tests/repository_test.py::test_local_python_repo tests/repository_test.py::test_hook_id_not_present tests/repository_test.py::test_meta_hook_not_present tests/repository_test.py::test_too_new_version tests/repository_test.py::test_versions_ok[0.1.0] tests/repository_test.py::test_versions_ok[1.4.4] tests/repository_test.py::test_manifest_hooks
pre_commit/store.py pre_commit/main.py pre_commit/repository.py pre_commit/commands/run.py
pre_commit/store.py pre_commit/main.py pre_commit/repository.py pre_commit/commands/run.py