We have our repository set up and I have our .gitignore to ignore all of the compiled files such as *.d *.c. You can take a look at it here:
https://github.com/Team-2823/C-Code-2014
We don't have any more code than the basic template.
What I did was make a project, from the template. Then I created and cloned the repository. Then I just copied over the existing project files into the local repository directory. THEN, I imported the directory as a Existing Project.