I want to give the code to GitHub, but it doesn't work.
I want to reflect the code written on eclipse on GitHub, but the repository can be created and the contents are empty.

I heard that you need to push on the directory that was doing this GIT, but I'm not sure.
How can I hit the terminal to get it on GitHub?
Since it is a beginner, I would appreciate it if you could tell me that if you enter it in this way, it will improve.
Thank you.
Location of eclipse: Applications/Eclipse_4.6.3.app/Contents/workspace/tasklist
Using Macbook Air
ProductVersion: 11.0.1
BuildVersion: 20B29.