I use the following command to know all the remote branches of a project:
git ls-remote https://github.com/nanashili/AuroraEditor --h --sort origin "refs/heads/*" | sed "s,.*${TAB}refs/heads/,,"
But I would like to know which is the main branch of the project, which can be different from main and master.
Can you give me a hand?