A Git repo is only partially initialized when GPG signing fails (e.g. the user closes the prompt for signing with a GPG key).
The Git repo is there, but no files are staged or committed.
Possible Solution
If the app fails to commit: stage the files and log a message; something along the lines of:
A Git repository was initialized but Create Nom App was unable to create a commit. The files have been staged for committing later.