Step 1: Goto github.com and signup for a free account.
Step 2: Open your email account and verify the email address ( You will receive an email with verification link).
Step 3: On first login, you will be redirect to new repository page. From next time, Click on + icon top right corner.
Step 4: Enter repository name name and some description about the repository.
Step 5: Go to to “push an existing repository from the command line”, copy the lines to push files from local repository.