how to restore from your initial commit in git lab code example Example: git reset in gitlab git reset --hard HEAD^^