Initialize git repo and do the first commit

Sometimes one does breaking changes to a freshly generated app and wants
to reset it to the working state without regenerating the whole app.

Fixes #28