1. Signup with github .
2. Click on Create new repository to create repository
For example: “MyApplication”
3. Create clone of your repository. Here clone means a copy of repository folder on a personal machine.
#git clone link given in address bar
For example: git clone https://github.com/username/repositoryname
4. To add file in github.
a. Place the files in clone folder which you want in your repository
b. Change directory to clone folder
#git add "file_name" #git commit -m "file_name" #git push
It ask for username and password of github.