I'd assumed that this should be run inside the empty repository where I want the project, but that doesn't seem to be the case so I got an extra 'project' level. This is quite hard to fix up as mv project/* . won't completely work as there is a project/project folder that breaks it.