`git meta checkout` doesn't work in a repository with no commits
Open
- Dominant language
- JavaScript
- Stars
- 233
- Forks
- 54
- PR merge metrics
- No merged PRs in 30d
Description
Repro steps:
```
git init emptyrepo
cd emptyrepo
git fetch https://github.com/twosigma/git-meta
git meta checkout FETCH_HEAD
```
Expected:
* Checks out FETCH_HEAD
Actual:
```
TypeError: Cannot read property 'id' of null
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.