learning how to create repository