Added Java source file for the Commit class