Learn to handle gitfiles in enter_repo