use ls-remote to compare HEAD and then reflog as a backup
fix returning reflog promise