ios Git create a repository where the local branch is changed from master to main. January 4, 2024 by Alia Andra No Comments 1. Create a git repository and change the local branch from master to main. Click View All Branchs Click to switch to Master. Delete the main branch.