Can somebody tell me how I can use Xojo with GitHub?
Save your xojo project as a xojo project (not binary or xml) and put in a folder which you use for git.
That sounds super simple. Cool.
The Xojo Videos might help you here.
Scroll down to Advanced Topics.
Also refer to this section in the User Guide: