Commit a function before extracting

I am referring

  1. Foundations of Objective-C App Development
  2. Module 4
  3. Functions 2 (Video)
  4. 5:08
  5. I used Xcode for the first time for this course. When I tried to commit the project, I first had to create Git Repository to be able to select the menu “Commit.” But, I’m not still able to commit because there is no folder/file showing up to commit. The image is attached to show what happens after I click “Commit.” Thank you for your help!