Because I can never remember how to do this, instructions on how to add an existing project to source control using Git.

  1. Create new repository using Github web interface
  2. cd to project directory
  3. >git init
  4. >git add .
  5. >git pull <repos> master
  6. >git commit -a -m “initial checkin”
  7. >git remote add origin <repos>
  8. >git push origin master

I don’t recall doing #5 the last time, but it was required this time…