There is no harm in running the mkdir -p, git init and git config commands even for existing repositories since they are idempotent. What if someone is converting an existing checkout to gitric deployments? In that case we want git config receive.denyCurrentBranch ignore to be run but this will make it so that has to be done manually.