This repository was archived by the owner on May 27, 2022. It is now read-only.

Description
As of October 1st new repos created on GitHub will have their default branch named "main" instead of "master". Antibody assumes that "master" is the default branch and fails if a "master" branch doesn't exist.
This change won't apply to existing repos, leaving two different default branch names (not to mention other projects that already don't use master and default to "develop" or something else). Now, I know Antibody supports the branch:main syntax to specify a branch, but honestly that should not be necessary. I would suggest that Antibody should not assume a default branch name at all if one is not specifically provided and just simply omit the "-b" parameter when cloning. The Version variable in the struct should just stay nil.
I'd be happy to help with a PR to implement this. We're about a month away from it becoming an issue.