check commit history