Create a new repo on github.com with this link https://help.github.com/articles/creating-a-new-repository
git clone https://code.google.com/p/ project-name.git
Set the remote origin url as follows: git remote set-url origin https://github.com/ username/ repo-name.git
git pull to pull the latest.
git push origin master after making local changes.
This is the original repo: https://code.google.com/p/test-libraries-for-java
This is my forked repo: https://github.com/krishnanand/test-libraries-for-java/
Please feel free to share if you think it helps any one.