git init . followed by git commit gives
$ git init .
Initialized empty Git repository in /Users/iant/Desktop/temp/.git/
$ git commit
On branch main
Initial commit
nothing to commit (create/copy files and use "git add" to track)
using real git, but with git2cpp the commit is accepted as normal.
git init .followed bygit commitgivesusing real
git, but withgit2cppthe commit is accepted as normal.