Must I have a Main or Master branch? Best practice

I have two branches of a repo, master and dev. Ultimately, I would like to preserve master and freeze it, but have dev become the primary branch for use. Then, I will likely have a new Dev branch for future work.

Doing this:

  1. Rename Master to Frozen
  2. Rename Dev to Master
  3. Make a new Dev branch as a branch from Master.

Seems like it could work, but I’ve seen the “Heads Up!” error in the past and want to avoid it.

Or, I could just make dev the default branch and maybe rename it. But I don’t want master to confuse people thinking it is the main branch.

What is the best practice?