Add function to determine time since last commit