stop script from cloning if there are no new commits. make the code a tiny bit cleaner. bit of a kitchen sink :(
see README for todo list and naming