Two questions:
Simply log everything with one line format and tail the output:
git log --pretty=oneline | tail -n 10