Original post: https://stackoverflow.com/a/38970914
/tmp> mkdir foo /tmp> git init --bare foo Initialized empty Git repository in /tmp/foo/ /tmp> git clone /tmp/foo /tmp/baa Cloning into '/tmp/baa'... warning: You appear to have cloned an empty repository. done.