1. Create a directory to put your code in.
    
    	$ mkdir mycode && cd mycode
          
  2. Write some code, or pretty much anything.
    
    	$ echo "Some Text" >> textfile
          
  3. Init the Git!
    
    	$ git init
          
  4. Add your file to the repository.
    
    	$ git add textfile
          
  5. Commit your changes to the respository.
    
    	$ git commit -m "first commit"
          
Done!

Next steps:
  1. Go to Github and make an account.
  2. Set up ssh (skip to Step 3).
  3. Put the git repository you just created on Github.