with the Github for Mac app
- From the repositories view in the app, drag the project folder to the bottom of the left sidebar.
- Hit "Yes" when it asks if you want to create a local git repository
- Go to "Changes" view (⌘2)
- Select the files that you want to commit their current state to the repository. You can view the changes of the file by clicking on the double up arrow on the file name bar.