Some git commands may fail on an empty repository.
Should all methods be safe on empty repositories? Is throwing an error ok?
Should there be a method for determining if a repository is empty?
how to check for an empty repository
There was an error while loading. Please reload this page.