New function sync_all_repos()

work in progress