Github
initialize git
git init
When you type this command, a folder named .git is created in the current directory.
add local file
git add [filename]
If you want to add all file,type following command
git add .
Commit
git commit -m "message"
The message can be anything.
Connecting local and remote repositories
git remote add origin [Git link]
push
Reflects the committed local repository data in the remote repository.
git push origin master