Use git mv to rename java to Java and git to Git