### Summary As more & more [organizations](https://sfconservancy.org/news/2020/jun/23/gitbranchname/) [adopt](https://about.gitlab.com/blog/2021/03/10/new-git-default-branch-name/) new [defaults](https://github.blog/changelog/2020-10-01-the-default-branch-for-newly-created-repositories-is-now-main/) for the default git branch name, we should update [`hosted-git-info`](https://github.com/npm/hosted-git-info) to follow suit. ### Exit Criteria - [x] `HEAD` is used as the default git ref - [x] tests are updated to reflect the change - [x] documentation is updated to reflect the change ### Links & References - Issue: https://github.com/npm/cli/issues/4867 - PR: https://github.com/npm/hosted-git-info/pull/142
Summary
As more & more organizations adopt new defaults for the default git branch name, we should update
hosted-git-infoto follow suit.Exit Criteria
HEADis used as the default git refLinks & References
masterbranch cli#4867HEADhosted-git-info#142