I'm not sure if this is the correct sub-forum to put this. I want to make a Java script that would, when ran, look on say Github and see if there is a newer version of a specified file in a specified location. If there is, it would download the file to a specific location or move it to that location after downloading and replace the old file. Does anybody know how easy this would be and an example of it? I'm new to Java so I don't know much fancy terminology yet.

EDIT: Kinda like a reverse GitHub repository? So it gets files from Git Hub instead of uploading them.