How to Create an Empty Branch in Git
If you need to create an empty branch in git, you can follow one of the below options.
If you are using git version 2.27 or newer, then follow the switch
route (option 1) below, otherwise fall back to the older way, using checkout
and delete
(option 2).