GitHub

git add .
git commit -am "Another update."
git push --dry-run
git push

Documentations

Tutorials

Adding an existing project to GitHub

git init

# Create a new repository on Github
# Copy the remote repository URL.
# eg. https://github.com/jasonhemu/portfolio.git
# eg. for older version git change the url to: https://jasonhemu@github.com/jasonhemu/portfolio.git

git remote add origin {repository url}
git config --global user.name "Mu"
git config --global user.email jasonhemu@gmail.com

git pull origin master

git add .
git commit -am "init"
git push