main has recently become the default branch for git, so add that into the mix
diff --git a/src/plugins/utils/git.py b/src/plugins/utils/git.py
index 29fa8a8..8576ce5 100644
--- a/src/plugins/utils/git.py
+++ b/src/plugins/utils/git.py
@@ -24,7 +24,7 @@
def defaultBranch(source, datapath, KibbleBit = None):
""" Tries to figure out what the main branch of a repo is """
- wanted_branches = ['master', 'trunk']
+ wanted_branches = ['main', 'master', 'trunk']
branch = ""
# If we have an override of branches we like, use 'em
if KibbleBit and KibbleBit.config.get('git'):