Add commit head tracking