Extract from:

after signing up,

git config --global "Your Name Here"
git config --global ""

Authenticating with GitHub from Git

Creating Your Local Repository
mkdir ~/MyProject
cd ~/MyProject

Create file
touch Readme.txt

git status
git add Readme.txt
git commit -m “Add Readme.txt”

Connect Your Local Repository To Your GitHub Repository
git remote add origin
git remote -v
git push origin master

if have problem with the last step,
git pull origin master
git push

There are quite a few GUI available:
I’m using giggle
sudo apt-get install giggle

and to use it, go into the git folder,
cd ~/MyProject
and giggle