Commit commit = new Commit();
commit.setMessage(message);
commit.setTree(tree);
try {
UserService userService = new UserService(service.getClient());
User user = userService.getUser();
CommitUser author = new CommitUser();
author.setName(user.getName());
author.setEmail(user.getEmail());
author.setDate(new GregorianCalendar().getTime());