Assuming you already set up a remote for Github named origin (as you will if you followed Github's instructions), you can add a second URL to it for Google Code:
git remote set-url --add origin https://project.googlecode.com/git
Now you'll automatically push to both Github and Google Code at once when you git push
to that remote. That's probably the easiest way to keep them synced.