Meed my 2nd branch as my main live branch

hi, I have a branch named latest that I would like to be my main branch, how can I do this?

Probably easiest would be to merge latest to main branch, then set main as default branch and delete latest branch if you no longer need it.

Googling also shows plenty of results on this subject, and ways to rename branches, so you can also try that as well. These are standard git commands at this point.

I created a new repo in the end and pushed up ‘latest’ branch as origin and now renamed to main.

I was unable to merge latest into main for some reason