I don't know why but I always have trouble with github. It really should be the easiest part but I always mess up and get errors and plus I can't memorize the simple commands. So I finally took notes to refer back to when I get stuck again.
1. Go inside your file that you want to initialize
2. Git init
3. git add ~/code/mks/html_css/Eterna-using-foundation
4. git commit -m "Write whatever you want"
5. go to github and create a repository, set the repo name to something and create, then save the url
6. go back to terminal make sure you are in the file ( cd~/code/mks/html_css/Eterna-using-foundation)
7. git remote add origin "url"
8. git push -u origin master
1. Go inside your file that you want to initialize
2. Git init
3. git add ~/code/mks/html_css/Eterna-using-foundation
4. git commit -m "Write whatever you want"
5. go to github and create a repository, set the repo name to something and create, then save the url
6. go back to terminal make sure you are in the file ( cd~/code/mks/html_css/Eterna-using-foundation)
7. git remote add origin "url"
8. git push -u origin master