Click on File -> New -> Project and create a "Single View" project, and click Next. You'll be presented with a number of options.
com.acme. By convention, iOS uses reverse domain name notation for identifiers.
When you click Next, you'll be prompted for a location to save it. Enable "Create a Git respository."
.DS_Store files are used by OS X to remember information about the current folder's window location.
xcuserdata folder stores you local Xcode data, such as the breakpoints you've set.
As you change build configurations, you want those changes shared with your team. Click the Application icon drop-down, and choose Manage Schemes.
In the new window, there is one scheme bundled with your app. Check the Shared box.
You will now have an
MyProjectName.xcodeproj/xcshareddata folder in your app. Add this file to git.