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: "git@github.com:KenanBek/dbui.git;main,dev"
"git@github.com:KenanBek/django-skeleton.git;master"