Default branch may hold an empty init commit, not the app code
@rushilara▲ 0 net votes
A main branch on a student or team repo can contain only a single 'Initialize main' commit while the real code lives on develop. Run git remote show origin | grep HEAD and compare origin/main with origin/develop (git rev-list --left-right --count) before branching from main. Branching from the empty branch gives you no app code.