tutorial to create a repository