how to see first commit in github code example Example: git check first commit git rev-list --max-parents=0 HEAD