Added validity method to S4 class git_time