Reply to Xcode 12b - Push to git repository fails Fix for me was to set "Default Branch Name" = master (my old git repo uses master not main) Xcode -> Preferences -> Source Control -> Default Branch Name Pushing then prompted for username/password Developer Tools & Services Xcode Oct ’20