How to import existing code to GitHub
Create the remote repository on GitHub
Locally, at the root directory of source code initialize repository
git init
Locally, add and commit what I want in my initial repo
git add .
git commit -m 'initial commit'
Atach remote repository with the name origin
git remote add origin [repo URL]
Pull the remote branch
git pull origin master
Push up master branch
git push origin master