- git init // initialize git (one time command)
- git add . // add to staging area
- git commit -m "updated index.html" // push to local repo with message
- git remote add origin // link github repo to local repo (one time command)
- git remote -v // check linked repo
- git push origin master // push code to remote repo
- git clone // clone repo
- git status // show status of the repo
- git log // list commits
- git config --global user.name "hamzah-syed"
- git config --global user.email "[email protected]"