There are two ways to use JGit4MATLAB. It can be used as a command similar to Git.
jgit <command> [<options>] [<args>...] -- [<args>...]
JGit4MATLAB parses a subset of Git commands, options and arguments. Use jgit help [<command>] to see what Git commands are available and to get help for a particular command.
JGit4MATLAB can also be used by calling methods from the JGit class, a thin wrapper around the JGit Git API.:
JGit.command(args,param,key,...)