Tutorial with JGit, (Git Java library).