Using Git in terminal (command line)
This a quick way to use Git and push your project to your repository on GitHub. At least that what I do and it works! This assumes that you have Git installed.
Need to set your email address and username.
git config --global user.email "firstname.lastname@example.org" git config --global user.name "Your Name"
To initialize or reinitialize existing Git repository
git add .
See status of your files; staged, unstaged, modified, etc.
Commit your changes, you’ll whatever you feel appropriate between the quotes:
git commit -m "your notes here"
Push/upload your changes to your github repository
git push origin master