The push line in 'init' needs to be 'git push origin master' otherwise the master branch isn't created in the bare repository.
The push line in 'init' needs to be 'git push origin master' otherwise the master branch isn't created in the bare repository.

Without a master branch, cloning the repo using 'pyjournal.py connect' gives a repo where 'pyjournal.py pull' returns 'Already up-to-date.' but the cloned directory remains empty. 'git pull' in the empty cloned directory returns "Your configuration specifies to merge with the ref 'master' from the remote, but no such ref was fetched."

Looking at stderr from the 'git push' line in 'init', that returns the error:
//No refs in common and none specified; doing nothing.
//Perhaps you should specify a branch such as 'master'.
//fatal: The remote end hung up unexpectedly
//error: failed to push some refs to '/home/dwillcox/journals/journal-test3.git'

This is fixed by using 'git push origin master' instead of 'git push' in 'init' because that creates the master branch.

zingale/pyjournal