Archive Git repositories with Shell Script
Shell script to clone repositories at a specific branch, remove the .git folder, and have a clean, archived copy of the repository. — Git Repositories and Branch Names Recently, I needed to archive multiple Git repositories into a single Git repository. In addition, some of these archived repositories have multiple branches worth archiving. So, I needed to support a format like this: "firstname.lastname@example.org:KenanBek/dbui.git;main,dev" "email@example.com:KenanBek/django-skeleton.git;master"