git show oldest commit code example Example: git check first commit git rev-list --max-parents=0 HEAD