clone existing repository to htdocs:
git clone https://github.com/jgkenney/tutorial.git
to push changes to github repository:
git status
git add *
git commit -m "your commit message here"
git push
to pull changes from repository:
git pull
ALWAYS PULL BEFORE MAKING CHANGES