Adding utility function for git stats and flag for not storing duplicate in histroy