As long as you are able to publish a game with a public repository URL at the end of the jam it's fine Although it's good practice to make it public from the start :)