Update HelloGit.java

update code from github.