#initializing git
git init
#check status
git status
#add one file
git add filename
#add more files
git add *.txt
#commit after files added
git commit -m “New changes msg”
#to see the log
git log
#connect with remote repositary
git remote add origin https://github.com/user-url/project-name.git
#push files to server
git push -u origin master
#then you will ask username and password for github
#