====== sync Arduino projects folder **to** GITHUB ======
Make "ArduinoProjects" repository first at github
cd Arduino/
echo "#Arduino Projects" >>README.md
git init
git add *
git commit -m "first commit"
git remote add origin git@github.com:/ArduinoProjects.git
git push --all origin
git push --all origin -u
====== sync Arduino projects folder **from** GITHUB ======
cd /home/username/Arduino
git init
git remote add origin git@github.com:/ArduinoProjects.git
git pull origin master
git push --all origin -u
====== update repository to GITHUB ======
cd /home/Arduino
git push
====== Create local repo and Upload content to GITHUB ======
Make repository first at github
(assuming local directoryname = reponame)
cd
echo "# " >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin git@github.com:/.git
git push -u origin master