Broke out some functions from repo.sync() as the function was getting quite large, added ability to create combined repository while versioning repos.