code: CommitResult commit(File project, String message) {
  		try (Git git = this.gitFactory.open(file(project))) {
  			git.add().addFilepattern(".").call();
  			git.commit().setAllowEmpty(false).setMessage(message).call();
  			log.info("Commited successfully with message [" + message + "]");
  			return CommitResult.SUCCESSFUL;
  		}
  		catch (EmptyCommitException e) {
  			log.info("There were no changes detected. Will not commit an empty commit");
  			return CommitResult.EMPTY;
  		}
  		catch (Exception e) {
  			throw new IllegalStateException(e);
  		}
  	}
docs: Performs a commit.
  @param project - a Git project
  @param message - commit message
  @return result of the commit