Changing to reset instead of checkout for git commands