Adding Git to an Existing Project

I would do it for Xcode project but it can be done almost similarly with any other project.

Before adding git, you should configure git with your name and email address so that your changes are tracked properly. GitHub uses the email address you set in your local Git configuration to associate commits with your GitHub account. Continue reading

Submit to GitHub