Using github

I want to push to Github.
Using Ubuntu 14.04LTS
So, I commit in the following steps.

echo "# test" >>
git init
git add
git commit -m "first commit"
git remote add origin
git push -u origin master

But, below error occurred.

error: The requested URL returned error: 403 Forbidden while accessing
fatal: HTTP request failed

I know solve this error this way

git remote set-url origin

In this way , I must enter password.

$ git push origin master
Counting objects: 24, done.
Compressing objects: 100% (23/23), done.
Writing objects: 100% (24/24), 4.49 MiB | 618 KiB/s, done.
Total 24 (delta 2), reused 0 (delta 0)

Other resources