Initialize repository
NO idea what is happening