Fix Xcode: Git Repository Creation Failed


Error Message:

Git Repository Creation Failed

Ensure the author information supplied in 
Xcode > Settings is correct then
create the git repository using Source
Control > New Git Repository...

Git Repository Creation Failed - Xcode

You may get the above error related to Git Repository creating when you install Xcode on a new Mac device or a fresh installed macOS.

To fix this error you can follow the below steps.

  1. Click on the Fix... button.
  2. Now enter the Author Name under Git tab.
  3. Enter Author Email
  4. Close the Source Control Window.
    Xcode Source Control Details

Alternatively you can also go to Xcode Menu: Settings... -> Source Control tab


This is not an AI-generated article but is demonstrated by a human on an M1 Mac running macOS Sonoma 14.0 and Xcode 15 Beta.

Please support independent contributors like Code2care by donating a coffee.

Buy me a coffee!

Buy Code2care a Coffee!

Facing issues? Have Questions? Post them here! I am happy to answer!

Author Info:

Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.

Follow him on: X

You can also reach out to him via e-mail: rakesh@code2care.org

Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap